Class: Mutant::Reporter::CLI::Printer::IsolationResult Private

Inherits:
Mutant::Reporter::CLI::Printer show all
Defined in:
lib/mutant/reporter/cli/printer/isolation_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.

Reporter for mutation results

Constant Summary collapse

PROCESS_ERROR_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.

<<~'MESSAGE'
  Killfork exited nonzero. Its result (if any) was ignored.
  Process status:
  %s
MESSAGE
EXCEPTION_ERROR_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.

<<~'MESSAGE'
  Killing the mutation resulted in an integration error.
  This is the case when the tests selected for the current mutation
  did not produce a test result, but instead an exception was raised.

  This may point to the following problems:
  * Bug in mutant
  * Bug in the ruby interpreter
  * Bug in your test suite
  * Bug in your test suite under concurrency

  The following exception was raised while reading the killfork result:

  ```
  %s
  %s
  %s
  ```
MESSAGE
TIMEOUT_ERROR_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.

<<~'MESSAGE'
  Mutation analysis ran into the configured timeout of %0.9<timeout>g seconds.
MESSAGE

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

NL

Instance Method Summary collapse

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

#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 report printer

Returns:

  • (undefined)


44
45
46
47
48
49
# File 'lib/mutant/reporter/cli/printer/isolation_result.rb', line 44

def run
  print_timeout
  print_process_status
  print_log_messages
  print_exception
end