I am using parallel_tests
gem and more specifically parallel_rspec
. I have 2 sets of tests that can't run in parallel as they interfere with the state of some other tests.
Currently I am doing
parallel_rspec spec --single 'spec/set_A'
I now have the need to also run set_B
non-parallely but how do I ensure that it runs in its own process and not with set_A's
process above?
I have tried parallel_rspec spec --single 'spec/set_A|set_B'
but it runs both sets in a single process which makes that process run for a really long time. Passing to separate --single
flags also doesn't seem to achieve that.