Tox Runner is a simple test extension which integrates the tox task automation
tool within Visual Studio Code. It can discover the different tasks defined in a
tox.ini file located at the root of your workspace, and run them directly from within
Visual Studio Code's test environment.
For a more mature extension, please take a look at python-tox
The Tox Runner extension is largely inspired by python-tox, and
provides some similar features with three main differences:
The Tox Runner extension does not (currently) provide any tasks, while python-tox
The Tox Runner extension handles factors in the tox.ini definition, and nests these
test environments in the tes explorer.
The Tox Runner extension by default executes tox testenvs in a child process, rather
than in a Visual Studio code terminal.
The following sections show the tox runner application in practice: