Pytest Plugin for Distributed Testing and Loop-on-Failing Modes
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.
- Devel package for openSUSE:Factory
-
12
derived packages
- Links to openSUSE:Factory / python-pytest-xdist
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python:pytest/python-pytest-xdist && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
pytest-xdist-1.29.0.tar.gz | 0000061788 60.3 KB | |
python-pytest-xdist.changes | 0000011713 11.4 KB | |
python-pytest-xdist.spec | 0000003244 3.17 KB |
Revision 9 (latest revision is 42)
- Update to 1.29.0: * #226: --max-worker-restart now assumes a more reasonable value (4 times the number of nodes) when not given explicitly. This prevents test suites from running forever when the suite crashes during collection. * #435: When the test session is interrupted due to running out of workers, the reason is shown in the test summary for easier viewing. * #442: Compatibility fix for upcoming pytest 5.0: session.exitstatus is now an IntEnum object. * #435: No longer show an internal error when we run out of workers due to crashes.
Comments 0