Running tests in parallel using multiprocessing is nice because it finishes faster but some tests can't run concurrently with other tests. Supporting an option ~solo:true or similar would force such tests to run while no other test is running. Other tests could still run in parallel with one another.
I've been struggling to adapt our existing test suite in semgrep because some tests apparently can't run in parallel but it's not easy to see why. This new option should allow me to run most tests in parallel and have someone else later worry about the tests that can't run in parallel.
Running tests in parallel using multiprocessing is nice because it finishes faster but some tests can't run concurrently with other tests. Supporting an option
~solo:true
or similar would force such tests to run while no other test is running. Other tests could still run in parallel with one another.I've been struggling to adapt our existing test suite in semgrep because some tests apparently can't run in parallel but it's not easy to see why. This new option should allow me to run most tests in parallel and have someone else later worry about the tests that can't run in parallel.