Class: Mutant::Reporter::CLI::Report::Config

Inherits:
Mutant::Reporter::CLI::Report show all
Defined in:
lib/mutant/reporter/cli/report/config.rb

Overview

Printer for configuration

Instance Method Summary collapse

Methods inherited from 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)


22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/mutant/reporter/cli/report/config.rb', line 22

def run
  failed_subjects.each(&method(:visit))
  info 'Subjects:  %s',      amount_subjects
  info 'Mutations: %s',      amount_mutations
  info 'Kills:     %s',      amount_kills
  info 'Alive:     %s',      amount_alive
  info 'Runtime:   %0.2fs',  runtime
  info 'Killtime:  %0.2fs',  killtime
  info 'Overhead:  %0.2f%%', overhead
  status 'Coverage:  %0.2f%%', coverage
  status 'Expected:  %0.2f%%', object.config.expected_coverage
  print_generic_stats
  self
end