Pytest Plugin for Distributed Testing and Loop-on-Failing Modes

Edit Package python-pytest-xdist
http://bitbucket.org/hpk42/pytest-xdist

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.

Refresh
Refresh
Source Files
Filename Size Changed
pytest-xdist-1.32.0.tar.gz 0000067733 66.1 KB
python-pytest-xdist.changes 0000012780 12.5 KB
python-pytest-xdist.spec 0000003089 3.02 KB
Revision 13 (latest revision is 25)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 799798 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 13)
- 1.32.0:
  * #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside.
Comments 0
openSUSE Build Service is sponsored by