encyclopegia.org

Tox (Python testing wrapper)

tox is a command-line driven automated testing tool for Python, based on the use of virtualenv . It can be used for both manually-invoked testing from the desktop, or continuous testing within continuous integration frameworks such as Jenkins or Travis CI. Its use began to become popular in the Python community from around 2015. tox acts a wrapper for both virtual environments and test automation tools, to simplify the consistent testing of Python code across a range of environments. It integrates the use of a virtualisation tool, such as virtualenv , with a test script such as Imprimatur. This gives a consistent container-based testing environment on both desktops and integration servers. It also allows testing in a range of Python environments, such as Python 2 or Python 3 specific contexts. Tox supports various configuration file formats. Initially configuration could only be done in a tox.ini file in INI format. Since version 4.21 tox supports native TOML configuration integrated into pyproject.toml .

tox is a command-line driven automated testing tool for Python, based on the use of virtualenv . It can be used for both manually-invoked testing from the desktop, or continuous testing within continuous integration frameworks such as Jenkins or Travis CI. Its use began to become popular in the Python community from around 2015. tox acts a wrapper for both virtual environments and test automation tools, to simplify the consistent testing of Python code across a range of environments. It integrates the use of a virtualisation tool, such as virtualenv , with a test script such as Imprimatur. This gives a consistent container-based testing environment on both desktops and integration servers. It also allows testing in a range of Python environments, such as Python 2 or Python 3 specific contexts. Tox supports various configuration file formats. Initially configuration could only be done in a tox.ini file in INI format. Since version 4.21 tox supports native TOML configuration integrated into pyproject.toml .

References

No reference rows published for this article.

Cite this article

MLA

"Tox (Python testing wrapper)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/tox-python-testing-wrapper. Accessed 24 November 2026.

Chicago

"Tox (Python testing wrapper)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/tox-python-testing-wrapper.

APA

encyclopegia.org. (2026). Tox (Python testing wrapper). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/tox-python-testing-wrapper

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353925787 · 0.5 · snapshot enwiki-001353925787

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.