class Spectator::TestSuite
- Spectator::TestSuite
- Reference
- Object
Overview
Encapsulates the tests to run and additional properties about them.
Use #each
to enumerate over all tests in the suite.
Included Modules
- Enumerable(Spectator::Example)
Defined in:
spectator/test_suite.crConstructors
-
.new(group : ExampleGroup, filter : ExampleFilter)
Creates the test suite.
Instance Method Summary
-
#each(&) : Nil
Yields each example in the test suite.
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
Creates the test suite. The example group provided will be run. The filter identifies which examples to run from the group.