Class: Mutant::Reporter::CLI::Printer::StatusProgressive

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

Overview

Reporter for progressive output format on scheduler Status objects

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)


370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'lib/mutant/reporter/cli/printer.rb', line 370

def run
  status(
    FORMAT,
    amount_mutations_killed,
    amount_mutations,
    coverage * 100,
    killtime,
    runtime,
    overhead
  )

  self
end