Tox (Python testing wrapper): Difference between revisions

Content deleted Content added
stub
 
No edit summary
Line 14:
}}</ref>
 
<code>tox</code> acts a wrapper for both [[virtual environment (computingcontainer)|virtual environment]]s 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 <code>virtualenv</code>, with a test script such as Imprimatur. This gives a consistent [[container (virtualization)|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.
 
{{anchor|tox.ini}}Tox is configured through a simple <code>tox.ini</code> file in [[YAML]] format.<ref >{{Cite web