Spectator::PendingResult
Inherits Spectator::Result / Reference / Object
Outcome that indicates running an example was pending. A pending result means the example is not ready to run yet. This can happen when the functionality to be tested is not implemented yet.
Constants
DEFAULT_REASON = "No reason given"
Constructors
new(reason : String = DEFAULT_REASON, location : Spectator::Location | Nil = nil, elapsed = Time::Span::ZERO, expectations = [] of Expectation)
Creates the result. elapsed is the length of time it took to run the example. A reason for the skip/pending result can be specified. If the pending result was triggered inside of an example, then location can be set.