Class: Mutant::Reporter::CLI::Printer::Collector

Inherits:
Mutant::Reporter::CLI::Printer show all
Defined in:
lib/mutant/reporter/cli/printer.rb

Overview

Printer for run collector

Constant Summary

Constants inherited from Mutant::Reporter::CLI::Printer

NL

Instance Method Summary collapse

Methods inherited from Mutant::Reporter::CLI::Printer

run

Methods included from Delegator

included

Instance Method Details

#runself

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Print progress for collector

Returns:

  • (self)


154
155
156
157
158
159
160
# File 'lib/mutant/reporter/cli/printer.rb', line 154

def run
  visit(EnvProgress, object.result)
  active_subject_results = object.active_subject_results
  info('Active subjects:    %d', active_subject_results.length)
  visit_collection(SubjectProgress, active_subject_results)
  self
end