You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can get rid of overwriting individual test suites by supplying a "command_name" config option. If you did SimpleCov.command_name "RSpec #{rand(100000)}" for example, all RSpec results would end up being merged together.
This will eventually lead to multiplied line hits reported (when the same test runs twice and hits the same line twice each time, 4 hits will be reported even though it's actually only 2), but that should not really mess up the quality of the reports otherwise.
Could you please try this out and report back as to whether this makes it work with PT?
Hi,
Running simplecov along with parallel_tests. Added the following SimpleCov block in both spec/spec_helper.rb
and features/support/env.rb
SimpleCov.start 'rails' do
merge_timeout 7200
add_filter "/vendor/"
end
Coverage results are overwritten which I understand as each Rspec or cucumber test generates
a coverage report.
Is it possible to run simplecov with parallel_tests and merge the coverage of each of
them ?
The text was updated successfully, but these errors were encountered: