pytest-xdist
pytest-xdist copied to clipboard
pytest plugin for distributed testing and loop-on-failures testing modes.
I may just be misunderstanding how xdist works, but I can't seem to get the number of workers I requested to all accept tasks in parallel: ``` $ py.test -v...
When run in an environment guarded by cgroups resource control (any cloud instance), sometimes the kernel kills one of the pytest workers if the total usage of RSS is bigger...
Hello everyone, Last night I let my test suite running until this morning, but I noticed that it hasn't finished running all tests, looking at `htop`, I noticed some strange...
When running pytest with xdist I get a bunch of `ResourceWarning`s. To reproduce: ```bash touch empty.py pytest -n 2 empty.py ``` which produces ```console =============================================================== test session starts ================================================================ platform...
Hi, I'm noticing that when we have a worker crash (which started happening frequenctly last week) the test appears as both FAILED and PASSED. E.x.: Below is a snippet of...
Any way to run the groups of tests in sequence and run the test under each group in parallel? In the example setup below, I want to run my tests...
Hi, we have a long running test suite which consists of a single test function run on different input files (the input files are passed via @pytest.mark.parametrize). The function runs...
When creating the `DSession` object, pytest-xdist checks to see if the `terminalreporter` plugin is registered with pytest, and if so, creates a `TerminalDistReporter` object and registers it as a pytest...
The current console reporting options are a bit limited. Having the progress shown only when the dots reach the end of the terminal window is not quite optimal. Optimally I'd...
Hi, I was trying to run some test cases that needs to be run with resource exclusive while others in parallel execution. The way I prevent each worker process to...