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.

"Killfork exited nonzero. Its result (if any) was ignored.\nProcess status:\n%s\n"
LOG_MESSAGES =

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.

"Log messages (combined stderr and stdout):\n%s\n"
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.

"Killing the mutation resulted in an integration error.\nThis is the case when the tests selected for the current mutation\ndid not produce a test result, but instead an exception was raised.\n\nThis may point to the following problems:\n* Bug in mutant\n* Bug in the ruby interpreter\n* Bug in your test suite\n* Bug in your test suite under concurrency\n\nThe following exception was raised while reading the killfork result:\n\n```\n%s\n%s\n```\n"
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.

"Mutation analysis ran into the configured timeout of %0.9<timeout>g seconds.\n"

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

NL

Instance Method Summary collapse

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)


48
49
50
51
52
53
# File 'lib/mutant/reporter/cli/printer/isolation_result.rb', line 48

def run
  print_timeout
  print_process_status
  print_log_messages
  print_exception
end