1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 00:02:09 +02:00
tldr/pages/common/tox.md
2019-05-14 14:58:59 -03:00

484 B

tox

Automate Python testing across multiple Python versions. Use tox.ini to configure environments and test command. Homepage: 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}}