Jump to content

tox (Python testing wrapper)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 103.255.4.2 (talk) at 07:30, 26 April 2017 (Nominated for deletion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Nomination of ARTICLE NAME for deletion

A discussion is taking place as to whether the article ARTICLE NAME is suitable for inclusion in Wikipedia according to Wikipedia's policies and guidelines or whether it should be deleted.

The article will be discussed at Wikipedia:Articles for deletion/ARTICLE NAME until a consensus is reached, and anyone, including you, is welcome to contribute to the discussion. The nomination will explain the policies and guidelines which are of concern. The discussion focuses on high-quality evidence and our policies and guidelines.

Users may edit the article during the discussion, including to improve the article to address concerns raised in the discussion. However, do not remove the article-for-deletion notice from the top of the article until the discussion has finished.


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.[1][2][3]

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 is configured through a simple tox.ini file in INI format.[4]

Smoke testing

tox is also convenient as a simple smoke test on a newly installed, or freshly-updated system.

References

  1. ^ "Welcome to the tox automation project".
  2. ^ "Welcome to the tox automation project".
  3. ^ "tox 2.3.1". Python Package Index.
  4. ^ "tox configuration specification".