pytest Quick Start Guide
上QQ阅读APP看书,第一时间看更新

To get the most out of this book

Here's a short list of what you will need to get started:

  • A desktop computer or laptop: pytest works in Linux, Windows, and macOS-X, so pick any system you prefer.
  • Python 3: All examples are written in Python 3.6, but they should work with Python 3.4 or up with minor alternations, if any. Most examples can also be ported to Python 2 with a little more effort, but Python 3 is strongly recommended.
  • Your favorite text editor or IDE to work on the code.
  • Be comfortable with Python: nothing too advanced is required, but Python concepts, such as the with statement and decorators are important to have.