Module Protest::TestWithErrors
In: lib/protest/tests.rb

Mixin for tests that had an error (this could be either a failed assertion, unrescued exceptions, or just a pending tests.)

Methods

Attributes

error  [R]  The triggered exception (AssertionFailed, Pending, or any subclass of Exception in the case of an ErroredTest.)

Public Instance methods

Filtered backtrace of the assertion. See Protest::Utils::BacktraceFilter for details on the filtering.

Message with which it failed the assertion.

File where the assertion failed.

Line of the file where the assertion failed.

Raw backtrace, as provided by the error.

[Validate]