pytest-dev / pytest-xdist

pytest plugin for distributed testing and loop-on-failures testing modes.
https://pytest-xdist.readthedocs.io
MIT License
1.49k stars 232 forks source link

make `--dist loadgroup` the default value #1114

Open jnhyperion opened 3 months ago

jnhyperion commented 3 months ago

As the doc said:

This will make sure test1 and TestA::test2 will run in the same worker. Tests without the xdist_group mark are distributed normally as in the --dist=load mode.

the --dist loadgroup could be just a kind of extension of --dist load, make it as default value should be safe and also very convenient to users too.