Open sam-ghosh opened 6 months ago
As collection happens on workers, we can't enable xdist after collection
Enabling this is most unlikely
It's a shame. The idea sounds cool because sometimes you don't get profit from parallelization because of overheads.
Related to #272
For smaller number of tests, setting up 12 workers in 12 cores in my machine is overkill, is there a way to have pytest run xdist/parallel testing only if the number of tests collected is more than 20?
I tried something like below - but it seems the workers spin up before the test collection starts
conftest.py