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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.