class Spectator::ExamplePending

Overview

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

Defined in:

spectator/example_pending.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def self.new(location : Location? = nil, message : String? = nil, cause : Exception? = nil) #

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


[View source]

Instance Method Detail

def location : Location? #

Location of where the example was aborted.


[View source]