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

Inherits:
Mutant::Reporter::CLI::Printer show all
Defined in:
lib/mutant/reporter/cli/printer/status_progressive.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 included from Delegator

included

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.

Run printer



24
25
26
27
28
29
30
31
32
33
34
# File 'lib/mutant/reporter/cli/printer/status_progressive.rb', line 24

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