simplecov icon indicating copy to clipboard operation
simplecov copied to clipboard

Turn off simplecov with parallel tests

Open Halvanhelv opened this issue 3 years ago • 1 comments

Hi, how can I disable simplecov if I run tests with parallel tests?

Halvanhelv avatar Mar 19 '21 12:03 Halvanhelv

What about placing something similar to this in your test helper.

if ENV['TEST_ENV_NUMBER'].nil?
  Simplecov.start
end

721p avatar Apr 21 '21 22:04 721p