Tox (Python testing wrapper): Difference between revisions

Content deleted Content added
Adding short description: "Python testing software"
m top: fix common MOS:REFSPACE spacing errors, replaced: . <ref → .<ref, /> <ref → /><ref
 
(One intermediate revision by one other user not shown)
Line 13:
<code>tox</code> acts a wrapper for both [[virtual environment (container)|virtual environment]]s and [[test automation]] tools, to simplify the consistent testing of Python code across a range of environments.<ref name="Zadka, 2019" /> It integrates the use of a virtualisation tool, such as <code>virtualenv</code>, with a test script such as [https://pypi.org/project/imprimatur/ 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.<ref name="Zadka, 2019" /><ref name="Do Nascimento, 2018" />
 
{{anchor|tox.ini}}Tox issupports configuredvarious throughconfiguration afile simpleformats. Initially configuration could only be done in a <code>tox.ini</code> file in [[INI_file | INI]] format. Since version 4.21 tox supports native [[TOML]] configuration integrated into <code>pyproject.toml</code>.<ref name="tox-wiki-config"/>{{Cite<ref webname="tox-wiki-changelog"/>
|title=tox configuration specification
|website=
|url=https://tox.readthedocs.org/en/latest/config.html
}}</ref>
 
== Smoke testing ==
Line 49 ⟶ 45:
|date=5 May 2019
|url=https://opensource.com/article/19/5/python-tox
}}</ref>
 
<ref name="tox-wiki-config">{{Cite web
|title=Configuration
|website=tox.wiki
|url=https://tox.readthedocs.orgwiki/en/latest/config.html
}}</ref>
 
<ref name="tox-wiki-changelog">{{Cite web
|title=Release History
|website=tox.wiki
|url=https://tox.wiki/en/latest/changelog.html
}}</ref>