Class: Mutant::Reporter::CLI::Printer::EnvResult Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Full env result reporter

Constant Summary collapse

SEPARATOR =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'-----------------------'
MORE_MESSAGE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'(%d more alive mutation(s), use `mutant session subject %s` to see all details)'
STATS_FORMAT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'tests: %d, runtime: %.2fs, killtime: %.2fs'
NO_DIFF_MESSAGE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'BUG: No diff generated, please report circumstances to https://github.com/mbj/mutant'

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

NL

Instance Method Summary collapse

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

call, #call

Methods included from Procto

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

Returns:

  • (undefined)


21
22
23
24
25
26
27
# File 'lib/mutant/reporter/cli/printer/env_result.rb', line 21

def run
  unless failed_subject_results.empty?
    puts(AliveResults::ALIVE_EXPLANATION)
    failed_subject_results.each(&method(:print_subject_summary))
  end
  visit(EnvProgress, object)
end