Class: CI::Reporter::MiniTestError
- Inherits:
-
FailureCore
- Object
- FailureCore
- CI::Reporter::MiniTestError
- Defined in:
- lib/ci/reporter/minitest.rb
Instance Method Summary collapse
- #error? ⇒ Boolean
- #failure? ⇒ Boolean
-
#initialize(fault) ⇒ MiniTestError
constructor
A new instance of MiniTestError.
- #location ⇒ Object
- #message ⇒ Object
- #name ⇒ Object
Constructor Details
#initialize(fault) ⇒ MiniTestError
Returns a new instance of MiniTestError.
49 |
# File 'lib/ci/reporter/minitest.rb', line 49 def initialize(fault) @fault = fault end |
Instance Method Details
#error? ⇒ Boolean
51 |
# File 'lib/ci/reporter/minitest.rb', line 51 def error?() true end |
#failure? ⇒ Boolean
50 |
# File 'lib/ci/reporter/minitest.rb', line 50 def failure?() false end |
#location ⇒ Object
54 |
# File 'lib/ci/reporter/minitest.rb', line 54 def location() @fault.exception.backtrace.join("\n") end |
#message ⇒ Object
53 |
# File 'lib/ci/reporter/minitest.rb', line 53 def () @fault.exception. end |
#name ⇒ Object
52 |
# File 'lib/ci/reporter/minitest.rb', line 52 def name() @fault.exception.class.name end |