pytest-xdist icon indicating copy to clipboard operation
pytest-xdist copied to clipboard

pytest plugin for distributed testing and loop-on-failures testing modes.

Results 136 pytest-xdist issues
Sort by recently updated
recently updated
newest added

Reading [this blog post about Stripe's test runner](https://stripe.com/blog/distributed-ruby-testing) made me think we should have a `--slow-first` option for xdist, and it seems that we don't yet :sweat_smile: The motivation for...

enhancement

I'm trying this (Window 10 mingw): ``` /c/Python399/Scripts/pytest.exe -d --rsyncdir /d/my_test/remote_test --tx 'ssh=-F/d/my_test/remote_test/ssh_config myvmmachine//python=/usr/bin/python3.6//chdir=~/my_py_test' /d/my_test/remote_test/pytest_test.py ``` And I got this error: ``` ssh: Could not resolve hostname myvmmachine/python=/usr/bin/python3.6/chdir=~/my_py_test: Name or...

I want to perform the particular action only once per test run. As mentioned here, it can be done by checking, that now it's a master worker. https://pytest-xdist.readthedocs.io/en/latest/how-to.html#making-session-scoped-fixtures-execute-only-once But there...

Hi, I am looking for if there is a way to allow certain group of tests to run sequentially only while other tests continue to run in parallel using -n...

I have some code that registers signals, basically starting it's own thread. This needs to be in the main thread, since signals only work there. Once every, maybe, 30 executions...

This is probably a feature request. I've been finding that running `pytest -n auto` can take or even just seem to hang when testing one of my codebases. I believe...

enhancement
needs information

I have a regression test suite that I run in parallel with xdist. My application has permanent threads that poll and log every 5 seconds for the life time of...

Using pytest-xdist 3.5.0 with pytest 7.4.3 (both are latest releases from PyPi at the time of this writing). Python 3.10.13 on OS X KeyError in dsession.worker_internal_error() when a hook invokes...

i'm not sure if this is an issue with pytest-xdist or pytester, but when testing a pytest plugin that raises an exception with pytest-xdist, pytester incorrectly says the exit code...

Hi, Ask for help~ 2024-01-16 17:58:26.653 [gw6] [ 85%] FAILED test/xxxxxx/case 2024-01-16 17:58:27.014 test/xxxxxx/case 2024-01-16 17:59:35.797 [gw5] [ 86%] PASSED test/xxxxxx/case 2024-01-16 17:59:36.126 test/xxxxxx/case 2024-01-16 18:00:28.257 [gw0] [ 88%] FAILED...