tox is a generic virtualenv management and test command line tool


Keywords
environments, isolated, testing, virtual, actions, appveyor, automation, azure-pipelines, circleci, cli, continuous-integration, gitlab, hacktoberfest, pep-621, python, travis, venv, virtualenv
License
MIT
Install
pip install tox==4.14.1

Documentation

tox

PyPI Supported Python versions Downloads Documentation status check

tox aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi).

tox is a generic virtual environment management and test command line tool you can use for:

  • checking your package builds and installs correctly under different environments (such as different Python implementations, versions or installation dependencies),
  • running your tests in each of the environments with the test tool of choice,
  • acting as a frontend to continuous integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

Please read our user guide for an example and more detailed introduction, or watch this YouTube video that presents the problem space and how tox solves it.