class Spectator::PendingResult

Overview

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.

Defined in:

spectator/pending_result.cr

Instance Method Summary

Instance methods inherited from class Spectator::Result

call(interface)
call(interface, &block : Result -> _)
call
, example : Example example, to_json(json : JSON::Builder) to_json

Constructor methods inherited from class Spectator::Result

new(example : Spectator::Example) new

Instance methods inherited from class Object

should(matcher) should, should_eventually(matcher) should_eventually, should_never(matcher) should_never, should_not(matcher) should_not

Instance Method Detail

def call(interface) #

Calls the pending method on interface.


[View source]
def call(interface, &) #

Calls the pending method on interface and passes the yielded value.


[View source]
def to_s(io) #

One-word descriptor of the result.


[View source]