Class: Protest::ErroredTest
- Includes:
- TestWithErrors
- Defined in:
- lib/protest/tests.rb
Overview
Encapsulates the relevant information for a test which raised an unrescued exception.
Instance Attribute Summary
Attributes included from TestWithErrors
Attributes inherited from Test
Instance Method Summary collapse
-
#initialize(test, error) ⇒ ErroredTest
constructor
:nodoc:.
Methods included from TestWithErrors
#backtrace, #error_message, #file, #line, #raw_backtrace
Constructor Details
#initialize(test, error) ⇒ ErroredTest
:nodoc:
71 72 73 74 |
# File 'lib/protest/tests.rb', line 71 def initialize(test, error) #:nodoc: super(test) @error = error end |