Top "Xdist" questions

PyTest xdist is a plugin that allows parallel and distributed execution of unittests.

Is there a way to control how pytest-xdist runs tests in parallel?

I have the following directory layout: runner.py lib/ tests/ testsuite1/ testsuite1.py testsuite2/ testsuite2.py testsuite3/ testsuite3.py testsuite4/ …

python pytest xdist
pytest - rerun failed test after all other tests

In my scenario, I have one test that writes a file, and one (but potentially many more) tests that would …

python pytest xdist
How can I convert Python unittests to py.test when having global fixtures?

I do have a set of unit tests written using the Python's unittest module. They are using the setUpModule() function …

python fixtures pytest python-unittest xdist