class Spectator::TestSuite

Overview

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

Included Modules

Defined in:

spectator/test_suite.cr

Constructors

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 : ExampleGroup, filter : ExampleFilter) #

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


[View source]

Instance Method Detail

def each(&) : Nil #

Yields each example in the test suite.


[View source]