Class: Mutant::Reporter::CLI::Printer::Config::Runner

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

Overview

Config results printer

Defined Under Namespace

Classes: Walker

Constant Summary

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

REGISTRY

Instance Method Summary collapse

Methods inherited from Mutant::Reporter::CLI::Printer

build, finalize, handle, run, visit

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)


40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/mutant/reporter/cli/printer/config.rb', line 40

def run
  print_mutations
  info   'Subjects:  %s',      amount_subjects
  info   'Mutations: %s',      amount_mutations
  info   'Kills:     %s',      amount_kills
  info   'Runtime:   %0.2fs',  runtime
  info   'Killtime:  %0.2fs',  killtime
  info   'Overhead:  %0.2f%%', overhead
  status 'Coverage:  %0.2f%%', coverage
  status 'Alive:     %s',      amount_alive
  print_generic_stats
  self
end