Class: Mutant::Reporter::CLI::Printer::EnvProgress

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

Overview

Env progress printer

Constant Summary

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



209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'lib/mutant/reporter/cli/printer.rb', line 209

def run
  visit(Config, env.config)
  info 'Available Subjects: %s',        amount_subjects
  info 'Subjects:           %s',        amount_subjects
  info 'Mutations:          %s',        amount_mutations
  info 'Kills:              %s',        amount_mutations_killed
  info 'Alive:              %s',        amount_mutations_alive
  info 'Runtime:            %0.2fs',    runtime
  info 'Killtime:           %0.2fs',    killtime
  info 'Overhead:           %0.2f%%',   overhead_percent
  status 'Coverage:           %0.2f%%', coverage_percent
  status 'Expected:           %0.2f%%', env.config.expected_coverage
  self
end