Tox Support
IntelliJ IDEA integrates with tox and allows running tests in multiple environments.
Use tox integration
Ensure that Python is downloaded and installed on your machine.
Download tox.
Ensure that at least one Python SDK is configured.
Install tox for the Python SDK.
Specify tox as a dedicated test runner for your project.
Ensure that your project has the following files:
- tox.ini
- setup.py
test files
Right-click the file tox.ini and choose Run. The dedicated tox run/debug configuration is launched.
The results show up in the test runner tab of the Run tool window:
Right-click any test result in the Test Runner to execute tox in a particular environment:
Last modified: 15 April 2020