class Spectator::TestContext
- Spectator::TestContext
- Reference
- Object
Defined in:
spectator/test_context.crConstructors
Instance Method Summary
- #parent
- #parent? : Spectator::TestContext?
- #run_after_hooks(example : Example)
- #run_before_hooks(example : Example)
- #run_post_conditions(example)
- #run_pre_conditions(example)
- #stubs : Hash(String, Deque(Mocks::MethodStub))
- #values : Spectator::TestValues
- #wrap_around_each_hooks(test, &block : -> )
Instance methods inherited from class Object
should(matcher)
should,
should_eventually(matcher)
should_eventually,
should_never(matcher)
should_never,
should_not(matcher)
should_not
Constructor Detail
def self.new(parent : TestContext | Nil, hooks : ExampleHooks, conditions : ExampleConditions, values : TestValues, stubs : Hash(String, Deque(Mocks::MethodStub)))
#