class Spectator::RootExampleGroup

Overview

Top-most group of examples and sub-groups. The root has no parent.

Defined in:

spectator/root_example_group.cr

Instance Method Summary

Instance methods inherited from class Spectator::ExampleGroup

[](index : Int) : Example [], children : Array(ExampleComponent) children, children=(children : Array(ExampleComponent)) children=, children? : Array(ExampleComponent) | Nil children?, each(&)
each : Iterator(ExampleComponent)
each
, example_count : Int example_count, finished? : Bool finished?, run_after_hooks run_after_hooks, run_before_hooks run_before_hooks, run_post_conditions run_post_conditions, run_pre_conditions run_pre_conditions, wrap_around_each_hooks(&block : -> ) : -> wrap_around_each_hooks

Constructor methods inherited from class Spectator::ExampleGroup

new(hooks : ExampleHooks, conditions : ExampleConditions) new

Instance methods inherited from class Spectator::ExampleComponent

[](index : Int) : Example [], example_count : Int example_count, finished? : Bool finished?, symbolic? : Bool symbolic?, what : Symbol | String what

Instance methods inherited from class Object

should(matcher : Spectator::Matchers::Matcher) should, should_not(matcher : Spectator::Matchers::Matcher) should_not

Instance Method Detail

def symbolic? : Bool #

Indicates that the group is symbolic.


[View source]
def to_s(io) #

Does nothing. This prevents the root group from showing up in output.


[View source]
def what : Symbol | String #

Dummy value - this should never be used.


[View source]