README.md in undercover-0.4.0 vs README.md in undercover-0.4.1
- old
+ new
@@ -49,9 +49,10 @@
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start do
add_filter(/^\/spec\//) # For RSpec
add_filter(/^\/test\//) # For Minitest
+ enable_coverage(:branch) # Report branch coverage to trigger branch-level undercover warnings
end
require 'undercover'
# ...