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

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 .

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Tox (Python testing wrapper)". 1778643599. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1353925787

JSON record · API collection · citation policy