Class: Mutant::Reporter::CLI::Printer::TestResult
- Inherits:
-
Mutant::Reporter::CLI::Printer
- Object
- Mutant::Reporter::CLI::Printer
- Mutant::Reporter::CLI::Printer::TestResult
- Defined in:
- lib/mutant/reporter/cli/printer.rb
Overview
Test result reporter
Constant Summary
Constants inherited from Mutant::Reporter::CLI::Printer
Instance Method Summary collapse
-
#run ⇒ self
private
Run test result reporter.
-
#success? ⇒ false
private
Test if test result is successful.
Methods inherited from Mutant::Reporter::CLI::Printer
Methods included from Delegator
Instance Method Details
#run ⇒ self
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
598 599 600 601 602 603 604 605 |
# File 'lib/mutant/reporter/cli/printer.rb', line 598 def run status('- %d @ runtime: %s', tests.length, runtime) tests.each do |test| puts(" - #{test.identification}") end puts('Test Output:') puts(object.output) end |
#success? ⇒ false
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.
Test if test result is successful
Only used to determine color.
615 616 617 |
# File 'lib/mutant/reporter/cli/printer.rb', line 615 def success? false end |