class

Spectator::TestSuite

Inherits Enumerable < Reference < Object

Encapsulates the tests to run and additional properties about them. Use #each to enumerate over all tests in the suite.

Constructors

new(group : ExampleGroup, filter : ExampleFilter)

Creates the test suite. The example group provided will be run. The filter identifies which examples to run from the group.

Source

Instance methods

each

Yields each example in the test suite.

Source