Class: Mutant::Reporter::CLI::Progress::Config

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

Overview

Progress printer for configuration

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.

Report configuration

Parameters:

Returns:

  • (self)


20
21
22
23
24
25
26
27
28
# File 'lib/mutant/reporter/cli/progress/config.rb', line 20

def run
  if running?
    info 'Mutant configuration:'
    info 'Matcher:         %s',      config.matcher.inspect
    info 'Integration:     %s',      config.integration.name
    info 'Expect Coverage: %0.2f%%', config.expected_coverage.inspect
  end
  self
end