class

Spectator::Runner

Inherits Reference < Object

Main driver for executing tests and feeding results to formatters.

Constructors

new(suite : TestSuite, config : Config)

Creates the test suite runner. Specify the test suite to run and any additonal configuration.

Source

Instance methods

run

Runs the test suite. This will run the selected examples and invoke the formatter to output results. True will be returned if the test suite ran successfully, or false if there was at least one failure.

Source