lib/test_queue/runner/minitest.rb in test-queue-0.2.13 vs lib/test_queue/runner/minitest.rb in test-queue-0.3.0
- old
+ new
@@ -8,13 +8,9 @@
module TestQueue
class Runner
class MiniTest < Runner
def summarize_worker(worker)
- worker.stats.each do |s, val|
- stats[s.to_s] = val
- end
-
worker.summary = worker.lines.grep(/, \d+ errors?, /).first
failures = worker.lines.select{ |line|
line if (line =~ /^Finished/) ... (line =~ /, \d+ errors?, /)
}[1..-2]
worker.failure_output = failures.join("\n") if failures