Method: SimpleCov::Configuration#use_merging
- Defined in:
- lib/simplecov/configuration.rb
#use_merging(use = nil) ⇒ Object
Defines whether to use result merging so all your test suites (test:units, test:functionals, cucumber, …) are joined and combined into a single coverage report
262 263 264 265 |
# File 'lib/simplecov/configuration.rb', line 262 def use_merging(use = nil) @use_merging = use unless use.nil? @use_merging = true unless defined?(@use_merging) && @use_merging == false end |