class Spectator::SpecBuilder::SampleExampleGroupBuilder(T)
- Spectator::SpecBuilder::SampleExampleGroupBuilder(T)
- Spectator::SpecBuilder::NestedExampleGroupBuilder
- Spectator::SpecBuilder::ExampleGroupBuilder
- Reference
- Object
Defined in:
spectator/spec_builder/sample_example_group_builder.crConstructors
Instance Method Summary
Instance methods inherited from class Spectator::SpecBuilder::NestedExampleGroupBuilder
build(parent_group)
build
Constructor methods inherited from class Spectator::SpecBuilder::NestedExampleGroupBuilder
new(description : String | Symbol, source : Source)
new
Instance methods inherited from class Spectator::SpecBuilder::ExampleGroupBuilder
add_after_all_hook(hook : -> )
add_after_all_hook,
add_after_each_hook(hook : TestMetaMethod)
add_after_each_hook,
add_around_each_hook(hook : SpectatorTest, Proc(Nil) -> )
add_around_each_hook,
add_before_all_hook(hook : -> )
add_before_all_hook,
add_before_each_hook(hook : TestMetaMethod)
add_before_each_hook,
add_child(child : Child)
add_child,
add_default_stub(type : T.class, stub : Mocks::MethodStub) forall T
add_default_stub,
add_post_condition(hook : TestMetaMethod)
add_post_condition,
add_pre_condition(hook : TestMetaMethod)
add_pre_condition
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(description : String | Symbol, source : Source, id : Symbol, label : String, collection_builder : TestValues -> Array(T))
#