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
We use parallel_tests, rspec and simplecov.
For stability we use 1 process in our build with the setup below. When we only use 1 process, SimpleCov does not fail on low coverage. When we use more than 1 process, everything works as expected.
Is this a known problem, or am I doing something wrong?
Code setup
task :regular_specs do
parallel_test_processors = 1
coverage_minimum = 100
#` We use ENV['RSPEC_COVERAGE'] in setting SimpleCov.minimum_coverage
ENV['RSPEC_COVERAGE'] ||= coverage_minimum.to_s
Rake::Task['parallel:spec'].invoke(parallel_test_processors)
# Re-enable task, to enable other parallel:specs such as system_specs
Rake::Task['parallel:spec'].reenable
end
The text was updated successfully, but these errors were encountered:
Introduction
We use parallel_tests, rspec and simplecov.
For stability we use 1 process in our build with the setup below. When we only use 1 process, SimpleCov does not fail on low coverage. When we use more than 1 process, everything works as expected.
Is this a known problem, or am I doing something wrong?
Code setup
The text was updated successfully, but these errors were encountered: