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>.

Install

All systems
curl cmd.cat/tox.sh
Debian Debian
apt-get install tox
Ubuntu
apt-get install tox
Arch Arch Linux
pacman -S tox
image/svg+xml Kali Linux
apt-get install tox
Fedora
dnf install tox
Windows (WSL2)
sudo apt-get update sudo apt-get install tox
OS X
brew install tox
Raspbian
apt-get install 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

© tl;dr; authors and contributors