class Spectator::Runner
- Spectator::Runner
- Reference
- Object
Overview
Main driver for executing tests and feeding results to formatters.
Defined in:
spectator/runner.crConstructors
-
.new(suite : TestSuite, config : Config)
Creates the test suite runner.
Instance Method Summary
-
#run : Bool
Runs 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 runner. Specify the test suite to run and any additonal configuration.
Instance Method Detail
def run : Bool
#
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.