Class: Mutant::Reporter::CLI::Printer::Status Private

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

Overview

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

Printer for runner status

Constant Summary collapse

ACTIVE_JOB_HEADER =

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

'Active Jobs:'.freeze
ACTIVE_JOB_FORMAT =

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

'%d: %s'.freeze

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

NL

Instance Method Summary collapse

Instance Method Details

#runundefined

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:

  • (undefined)


16
17
18
19
20
21
# File 'lib/mutant/reporter/cli/printer/status.rb', line 16

def run
  visit(EnvProgress, payload)
  job_status
  info('Active subjects: %d', active_subject_results.length)
  visit_collection(SubjectProgress, active_subject_results)
end