我只想排除供应商宝石与覆盖率报告一起
显示,该怎么做?
以下是我的报道报告的样子:
这是我如何处理它,发现它在那里有文档!
SimpleCov.profiles.define 'no_vendor_coverage' do
load_profile 'rails'
add_filter 'vendor' # Don't include vendored stuff
end
SimpleCov.start 'no_vendor_coverage'
原文链接:https://www.f2er.com/ruby/269075.html