simplecov: enable branch coverage.

This commit is contained in:
Mike McQuaid 2022-02-22 15:27:43 +00:00
parent 6661f5b14d
commit fdd616b292
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -9,6 +9,9 @@ SimpleCov.start do
coverage_dir File.expand_path("../test/coverage", File.realpath(__FILE__))
root File.expand_path("..", File.realpath(__FILE__))
# enables branch coverage as well as, the default, line coverage
enable_coverage :branch
# We manage the result cache ourselves and the default of 10 minutes can be
# too low (particularly on Travis CI), causing results from some integration
# tests to be dropped. This causes random fluctuations in test coverage.