module SimpleCov::ResultMerger
def merge_results(*results)
coverage data and the command_name for the result consisting of a join
Merge two or more SimpleCov::Results into a new one with merged
def merge_results(*results) merged = SimpleCov::RawCoverage.merge_results(*results.map(&:original_result)) result = SimpleCov::Result.new(merged) # Specify the command name result.command_name = results.map(&:command_name).sort.join(", ") result end