Spectator::FailedResult
Inherits Spectator::FinishedResult < Spectator::Result < Reference < Object
Outcome that indicates running an example was a failure.
Constructors
new(example, elapsed, expectations, error : Exception)
Creates a failed result. The example should refer to the example that was run and that this result is for. The elapsed argument is the length of time it took to run the example. The expectations references the expectations that were checked in the example. The error is the exception that was raised to cause the failure.