Skip to content

pytest-xdist

xdist: pytest distributed testing pluginThe pytest-xdist plugin extends pytest with some unique test execution modes: * test run parallelization: if you have multiple CPUs or hosts you can use those for a combined test run. This allows to speed up development or to use special resources of remote machines. * --looponfail: run your tests repeatedly in a subprocess. After each run pytest waits until a file in your project changes and then re-runs the previously failing tests. This is repeated until all tests pass after which again a full run is performed. * Multi-Platform coverage: you can specify different Python interpreters or different platforms and run tests in parallel on all of them.Before running tests remotely, pytest efficiently “rsyncs” yourprogram source code to the remote place. All test results are reportedback and displayed to your local terminal. You may specify differentPython versions and interpreters.

https://github.com/pytest-dev/pytest-xdist

Available modules

The overview below shows which pytest-xdist installations are available per target architecture in the HPCC module system, ordered based on software version (new to old).

To start using pytest-xdist, load one of these modules using a module load command like:

1
module load pytest-xdist/3.6.1-GCCcore-13.3.0

(This data was automatically generated on Thu, 17 Apr 2025 at 12:00:12 EDT)

neoverse_v1 generic zen2 zen3 zen4 haswell skylake_avx512
Grace Nodes everywhere (except Grace nodes) amd20 amd22 amd24 intel16 intel18,amd20-v100,amd21,intel21
pytest-xdist/3.6.1-GCCcore-13.3.0 - x - - - - -
pytest-xdist/2.5.0-GCCcore-11.3.0 - - - - - x x

pytest-xdist/3.6.1-GCCcore-13.3.0

This is a list of extensions included in the module:

apipkg-3.0.2, execnet-2.1.1, pytest-xdist-3.6.1

pytest-xdist/2.5.0-GCCcore-11.3.0

This is a list of extensions included in the module:

apipkg-1.5, execnet-1.9.0, pytest-forked-1.4.0, pytest-xdist-2.5.0