tox alternatives and similar packages
Based on the "Test Runners" category.
Alternatively, view tox alternatives based on common mentions on social networks and blogs.
green4.2 3.5 L2 tox VS greenGreen is a clean, colorful, fast python test runner.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of tox or a related project?
tox automation project
Command line driven CI frontend and development task automation tool
At its core tox provides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities.
tox is highly configurable and pluggable.
Example: run tests with Python 3.7 and Python 3.8
tox is mainly used as a command line tool and needs a
tox.ini or a
tool.tox section in
To test a simple project that has some tests, here is an example with a
tox.ini in the root of the project:
[tox] envlist = py37,py38 [testenv] deps = pytest commands = pytest
$ tox [lots of output from what tox does] [lots of output from commands that were run] __________________ summary _________________ py37: commands succeeded py38: commands succeeded congratulations :)
tox created two
testenvs - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran
the tests. The report at the end summarizes which
testenvs have failed and which have succeeded.
Note: To learn more about what you can do with tox, have a look at the collection of examples in the documentation or existing projects using tox.
How it works
tox creates virtual environments for all configured so-called
testenvs, it then installs the project and other
necessary dependencies and runs the configured set of commands. See
system overview for more details.
tox can be used for ...
- creating development environments
- running static code analysis and test tools
- automating package builds
- running tests against the package built by tox
- checking that packages install correctly with different Python versions/interpreters
- unifying Continuous Integration and command line based testing
- building and deploying project documentation
- releasing a package to PyPI or any other platform
- limit: your imagination
Documentation for tox can be found at Read The Docs.
Communication and questions
For the fastest and interactive feedback please join our
If you have questions or suggestions you can first check if they have already been answered or discussed on our
On Stack Overflow (tagged with
Contributions are welcome. See contributing and our Contributor Covenant Code of Conduct.
Currently, the code and the issues are hosted on GitHub.
The project is licensed under MIT.
tox for enterprise
Available as part of the Tidelift Subscription.
The maintainers of tox and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.
*Note that all licence references and agreements mentioned in the tox README section above are relevant to that project's source code only.