Package Info

python-pytest-xdist


Distributed testing and loop-on-failing for py.test


Development/Languages/Python

The pytest-xdist_ plugin extends py.test 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_.

  • --boxed: (not available on Windows) run each test in a boxed_ subprocess to survive SEGFAULTS or otherwise dying processes

  • --looponfail: run your tests repeatedly in a subprocess. After each run py.test 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, py.test 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.


License: MIT
URL: https://github.com/pytest-dev/pytest-xdist

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.27.0-bp153.1.17 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-xdist
  • python3-pytest-xdist
1.27.0-bp152.2.1 info GA Release 2020-05-27 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-xdist
  • python3-pytest-xdist
1.22.2-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-xdist
  • python3-pytest-xdist