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

May I ask a question about distribution strategy

Open Fei-Away opened this issue 1 year ago • 3 comments

If I have already used the distribution mode of -- dist=loadfile, but still need some test files in the same worker, so I have marked @ pytest. mark. xdist_group (name="demo") in the test class of the test file, is this method effective

Fei-Away avatar Nov 14 '24 03:11 Fei-Away

as far as i remember the shedulers are not integrated

RonnyPfannschmidt avatar Nov 14 '24 05:11 RonnyPfannschmidt

Actually, my question is how to control the order of execution of use cases in the file when I use the -- loadfile distribution strategy, thank you。

Fei-Away avatar Nov 14 '24 07:11 Fei-Away

there is no extra control at the moment

RonnyPfannschmidt avatar Nov 14 '24 08:11 RonnyPfannschmidt