All Tools
T
Dev ToolsFreeOpen Source
TOX
Isolated test environments across Python versions
MIT
ABOUT
Running pytest in whatever venv is active hides version-specific breakage. tox declares factors (py310, py311, lint) and rebuilds isolated environments so a training library CI matrix is one config, not a pile of GitHub Actions jobs copied by hand.
INSTALL
pip install toxINTEGRATION GUIDE
1. Run unit tests for a model SDK against multiple Python versions locally
2. Gate PRs on lint plus tests without sharing a single developer virtualenv
3. Reproduce a CI failure with the same tox factor the pipeline used
4. Standardize packaging checks (build, import, pytest) for internal ML libs
TAGS
pythontestingcivirtualenvautomation