class SpectatorTest
- SpectatorTest
- Reference
- Object
Overview
Root-level class that all tests inherit from and are contained in. This class is intentionally outside of the scope of Spectator, so that the namespace isn't leaked into tests unexpectedly.
Included Modules
Defined in:
spectator_test.crConstructors
Instance methods inherited from module Spectator::DSL
allow(thing)
allow,
allow_any_instance_of(type : T.class) forall T
allow_any_instance_of,
anonymous_double(name = "Anonymous", **stubs)
anonymous_double,
anonymous_null_double(name = "Anonymous", **stubs)
anonymous_null_double,
fail(reason : String)fail fail