Class: ASAutotest::TestRunner::Result::Failure

Inherits:
ASAutotest::TestRunner::Result show all
Defined in:
lib/asautotest/test-runner.rb

Direct Known Subclasses

Equality, Simple

Defined Under Namespace

Classes: Equality, Simple

Constant Summary

Constants included from Logging

Logging::PREFIX

Instance Attribute Summary

Attributes inherited from ASAutotest::TestRunner::Result

#test_name

Instance Method Summary collapse

Methods inherited from ASAutotest::TestRunner::Result

#initialize, #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

This class inherits a constructor from ASAutotest::TestRunner::Result

Instance Method Details

#failed?Boolean

Returns:

  • (Boolean)


365
# File 'lib/asautotest/test-runner.rb', line 365

def failed? ; true end


367
368
369
370
# File 'lib/asautotest/test-runner.rb', line 367

def print_report!
  puts "  \e[1;31mFailed:\e[0m \e[0;4m#{local_name}\e[0m"
  report_reason!
end

#report_reason!Object



372
# File 'lib/asautotest/test-runner.rb', line 372

def report_reason! ; end