There is a newer version of pytest-xdist
xdist: pytest distributed testing plugin
The 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
* 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” your
program source code to the remote place. All test results are reported
back and displayed to your local terminal. You may specify different
Python versions and interpreters.
Accessing pytest-xdist 2.5.0-GCCcore-11.2.0
To load the module for pytest-xdist 2.5.0-GCCcore-11.2.0 please use this command on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs):
module load bear-apps/2021b
module load pytest-xdist/2.5.0-GCCcore-11.2.0
BEAR Apps Version
The listed architectures consist of two part: OS-CPU.
- BlueBEAR: The OS used on BlueBEAR is represented by EL and there are several different processor (CPU) types available on BlueBEAR. More information about the processor types on BlueBEAR is available on the BlueBEAR Job Submission page.
- BEAR and CaStLeS Cloud VMs: These VMs can have one of two OSes. Those with access to a BEAR Cloud or CaStLeS VM should check that the listed architectures for an application include the OS of VM being used. The VMs, irrespective of OS, will use the haswell CPU type.
- apipkg 1.5
- execnet 1.9.0
For more information visit the pytest-xdist website.
This version of pytest-xdist has a direct dependency on:
These versions of pytest-xdist are available on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs). These will be retained in accordance with our Applications Support and Retention Policy.
Last modified on 24th June 2022