Skip to main content

Automate Python testing across multiple Python versions. Use tox.ini to configure environments and test command.

# To run tests on all test environments:

# To create a tox.ini configuration:

# To list the available environments:
tox --listenvs-all

# To run tests on a specific environment (e.g. python 3.6):
tox -e <py36>

# To force the virtual environment to be recreated:
tox --recreate -e <py27>