Class: ASAutotest::TestRunner::Result::Failure::Simple
- Inherits:
-
ASAutotest::TestRunner::Result::Failure
- Object
- ASAutotest::TestRunner::Result
- ASAutotest::TestRunner::Result::Failure
- ASAutotest::TestRunner::Result::Failure::Simple
- Defined in:
- lib/asautotest/test-runner.rb
Constant Summary
Constants included from Logging
Instance Attribute Summary
Attributes inherited from ASAutotest::TestRunner::Result
Instance Method Summary collapse
-
#initialize(test_name, description) ⇒ Simple
constructor
A new instance of Simple.
- #report_reason! ⇒ Object
Methods inherited from ASAutotest::TestRunner::Result::Failure
Methods inherited from ASAutotest::TestRunner::Result
#local_and_suite_names, #local_name, parse_xml, #passed?, #suite_name
Methods included from Logging
#barf, #end_saying, #end_whisper, #hint, #new_logging_section, #say, #say_with_block, #say_without_block, #shout, #start_saying, #start_whisper, verbose=, verbose?, #verbose?, #whisper, #whisper_with_block, #whisper_without_block
Constructor Details
#initialize(test_name, description) ⇒ Simple
Returns a new instance of Simple.
375 376 377 378 |
# File 'lib/asautotest/test-runner.rb', line 375 def initialize(test_name, description) super(test_name) @description = description end |
Instance Method Details
#report_reason! ⇒ Object
380 381 382 |
# File 'lib/asautotest/test-runner.rb', line 380 def report_reason! puts " \e[0m#@description\e[0m" if @description end |