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

[rerunfailures plugin](https://github.com/pytest-dev/pytest-rerunfailures) uses [its own sockets](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/pytest_rerunfailures.py#L433-L505) for communication between master and worker nodes. Because of hardcoded `localhost` I assume it won't work in an actual distributed setup. If I'm not...

Every test needs to be atomic. Tests should not affect other tests. This is clear. But there are conditions that are changed by test execution, and you cannot stop this....

While investigating pytest-dev/pytest#442 I ran into an issue where xdist behaves differently than regular pytest. Basically, it seems that when using `--exitfirst` or `--maxfail=X`, in combination with `-n X`, pytest...

i noticed, that using `xdist` causes `--lf` banner do not show up. when calling my tests with `--lf` and without `-n` i can see eg: ``` ============================= test session starts...

bug

starting pytest-xdist==1.30.0([Oct 1, 2019](https://pypi.org/project/pytest-xdist/1.30.0/)) config.option may not be shared between controller and worker processes sample pytest.ini ``` [pytest] base_url = http://testurl addopts=-n 1 ``` test_base_url.py ``` def test_base_url(base_url): assert base_url...

Currently when tests are run on multiple cores the name of the files are not displayed any more. It would be rather useful to be able to still receive the...

question

Hello there! I'm still in the process of familiarizing myself with the codebase, sorry if the answer to this is already documented somewhere. From what I've understood, you're using `execnet`...

We noticed an issue with `pytest-xdist` in combination with `--maxfail>0`. It is related to https://github.com/pytest-dev/pytest-xdist/issues/420, but goes even further. For some reason, `tearDownClass` is not executed completely at the end...

This ties in with #863 - debugging isn't made impossible by xdist, it's just that default PDB doesn't work. Remote debuggers do, and it would be nice if - Just...

Closes #18 It's been long requested (#18) to allow for custom logic for the distribution of tests among test groups in a simple and clean way. This adds that functionality...