add simplecov filters to filter out spec/dspec tests when the opposite spec task is executed

This commit is contained in:
Josh Holtrop 2018-11-25 21:11:00 -05:00
parent 660d30558a
commit 778d9ed8b2

View File

@ -8,6 +8,12 @@ SimpleCov.start do
else else
command_name "RSpec" command_name "RSpec"
end end
if ENV["dist_specs"]
add_filter "/bin/"
add_filter "/lib/"
else
add_filter "test/rscons.rb"
end
project_name "Rscons" project_name "Rscons"
merge_timeout 3600 merge_timeout 3600
end end