class ParallelTests::Test::Runner
def sum_up_results(results)
def sum_up_results(results) results = results.join(' ').gsub(/s\b/, '') # combine and singularize results counts = results.scan(/(\d+) (\w+)/) counts.each_with_object(Hash.new(0)) do |(number, word), sum| sum[word] += number.to_i end end