pytest-xdist
pytest-xdist copied to clipboard
A new distribution mode is needed to group test cases, execute Group 1 first, and then Group 2
I have many test cases that need to wait for all other cases to be executed before executing. However, the current grouping method does not support it
Hi, we are also hoping for this same feature, are there any plans to add something like this? For more context: we have many test cases that consume different amounts of RAM/CPU. We'd like to separate these cases into groups based on pytest marks, then have high resource consuming tests run in an isolated group w/some number of workers (for example, 4 workers), then run tests with lower resource consumption in a separate group with 8 workers.