Class: Mutant::Reporter::CLI::Format

Inherits:
Object
  • Object
show all
Includes:
AbstractType
Defined in:
lib/mutant/reporter/cli/format.rb

Overview

CLI output format

Direct Known Subclasses

Framed, Progressive

Defined Under Namespace

Classes: Framed, Output, Progressive

Instance Method Summary collapse

Instance Method Details

#delayFloat

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 delay in seconds

Returns:

  • (Float)


31
32
33
# File 'lib/mutant/reporter/cli/format.rb', line 31

def delay
  self.class::REPORT_DELAY
end

#progressString

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.

Progress representation

Parameters:

  • status (Runner::Status)

Returns:

  • (String)


24
# File 'lib/mutant/reporter/cli/format.rb', line 24

abstract_method :progress

#startString

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.

Start representation

Parameters:

Returns:

  • (String)


15
# File 'lib/mutant/reporter/cli/format.rb', line 15

abstract_method :start