Class: Mutant::Reporter::CLI::Report::Test

Inherits:
Mutant::Reporter::CLI::Report show all
Defined in:
lib/mutant/reporter/cli/report/test.rb

Overview

Test result reporter

Constant Summary

Constants inherited from Printer

Printer::NL

Instance Method Summary collapse

Methods inherited from Printer

run

Methods included from Delegator

included

Instance Method Details

#runself

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 test result reporter

Returns:

  • (self)


18
19
20
21
22
# File 'lib/mutant/reporter/cli/report/test.rb', line 18

def run
  status('- %s / runtime: %s', test.identification, object.runtime)
  puts('Test Output:')
  puts(object.output)
end