tldr/pages/common/tox.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

494 B

tox

Automate Python testing across multiple Python versions. Use tox.ini to configure environments and test command. More information: https://github.com/tox-dev/tox.

  • Run tests on all test environments:

tox

  • Create a tox.ini configuration:

tox-quickstart

  • List the available environments:

tox --listenvs-all

  • Run tests on a specific environment (e.g. python 3.6):

tox -e {{py36}}

  • Force the virtual environment to be recreated:

tox --recreate -e {{py27}}