class

Spectator::ExamplePending

Inherits Exception / Reference / Object

Exception that indicates an example is pending and should be skipped. When raised within a test, the test should abort.

Constructors

new(location : Location | Nil = nil, message : String | Nil = nil, cause : Exception | Nil = nil)

Creates the exception. Specify location to where the example was aborted.

Source

Instance methods

location

Location of where the example was aborted.

Source