class Spectator::ExampleIterator
- Spectator::ExampleIterator
- Reference
- Object
Overview
Iterates through all examples in a group and its nested groups.
Included Modules
- Iterator(Spectator::Example)
Defined in:
spectator/example_iterator.crConstructors
-
.new(group : Iterable(ExampleComponent))
Creates a new iterator.
Instance Method Summary
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(group : Iterable(ExampleComponent))
#
Creates a new iterator. The group is the example group to iterate through.