LANGUAGE » PYTHON » PYTEST

Plugins

pytest-xdist

Enable running tests in parallel to speed up test execution.

shell
pip install pytest-xdist

Useful options that become available when running pytest:

OptionDescription
-nSpecify the number of processes.
--distSelect the test distribution algorithm. load loadscope loadfile loadgroup