Class: Mutant::Reporter

Inherits:
Object
  • Object
show all
Includes:
AbstractType
Defined in:
lib/mutant/reporter.rb,
lib/mutant/reporter/cli.rb,
lib/mutant/reporter/null.rb,
lib/mutant/reporter/trace.rb,
lib/mutant/reporter/cli/tput.rb,
lib/mutant/reporter/cli/format.rb,
lib/mutant/reporter/cli/printer.rb,
lib/mutant/reporter/cli/printer/config.rb,
lib/mutant/reporter/cli/printer/status.rb,
lib/mutant/reporter/cli/printer/env_result.rb,
lib/mutant/reporter/cli/printer/test_result.rb,
lib/mutant/reporter/cli/printer/env_progress.rb,
lib/mutant/reporter/cli/printer/subject_result.rb,
lib/mutant/reporter/cli/printer/mutation_result.rb,
lib/mutant/reporter/cli/printer/subject_progress.rb,
lib/mutant/reporter/cli/printer/status_progressive.rb,
lib/mutant/reporter/cli/printer/mutation_progress_result.rb

Overview

Abstract base class for reporters

Direct Known Subclasses

CLI, Null

Defined Under Namespace

Classes: CLI, Null, Trace

Instance Method Summary collapse

Instance Method Details

#progressself

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 progress on object

Parameters:

  • object (Object)

Returns:

  • (self)


40
# File 'lib/mutant/reporter.rb', line 40

abstract_method :progress

#reportself

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 collector state

Parameters:

  • collector (Runner::Collector)

Returns:

  • (self)


31
# File 'lib/mutant/reporter.rb', line 31

abstract_method :report

#startself

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 start

Parameters:

Returns:

  • (self)


22
# File 'lib/mutant/reporter.rb', line 22

abstract_method :start

#warnself

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.

Write warning message

Parameters:

  • message (String)

Returns:

  • (self)


13
# File 'lib/mutant/reporter.rb', line 13

abstract_method :warn