class CodeClimate::TestReporter::Formatter
def merge_results(results)
needed because calling it directly gets you into caching land with files
Re-implementation of Simplecov::ResultMerger#merged_result, which is
def merge_results(results) merged = {} results.each do |result| merged = result.original_result.merge_resultset(merged) end result = SimpleCov::Result.new(merged) result.command_name = results.map(&:command_name).sort.join(", ") result end