IntelliJ IDEA 2017.2 Help

Tox Support

Prerequisites

Before you start working with tox, make sure that Python plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA.

Also make sure that the following prerequisites are met:

  • Python SDK is downloaded and installed on your machine.
  • The required framework SDKs are downloaded and installed on your machine.

Refer to their respective download and installation pages for details:

Using Tox integration

To make use of the Tox integration, follow these steps:

  1. Create a project and the required files.
  2. Right-click the file tox.ini and choose Run. So doing, the dedicated Tox run/debug configuration is launched.

The results show up in the test runner tab of the Run tool window:

/help/img/idea/2017.2/py_tox.png

Right-click any test result in the Test Runner to execute Tox in a particular environment:

/help/img/idea/2017.2/py_tox1.png
Last modified: 26 October 2017

See Also