Class: Mutant::Reporter::CLI::Printer::SubjectProgress

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

Overview

Reporter for subject progress

Constant Summary collapse

FORMAT =
'(%02d/%02d) %3d%% - killtime: %0.02fs runtime: %0.02fs overhead: %0.02fs'.freeze

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.

Run printer

Returns:

  • (self)


343
344
345
346
347
348
349
350
# File 'lib/mutant/reporter/cli/printer.rb', line 343

def run
  puts("#{subject.identification} mutations: #{amount_mutations}")
  print_tests
  print_mutation_results
  print_progress_bar_finish
  print_stats
  self
end