← index

TestRunner

inherits Object · defined at test.qn:637

Drives suites against a reporter, firing the lifecycle hooks in order; [Test]Main.run builds one over the global [Test]Suites registry.

Instance methods

add:TestSuite

Enroll suite to be run.

test.qn:642

init

Start with no suites enrolled.

test.qn:639

run:

Run every enrolled suite in order against reporter; a skipped suite fires its reporter hooks but runs no tests and no lifecycle hooks. setupAll:/teardownAll: blocks bracket the suite's tests; setup:/ teardown: blocks bracket each test. Answers the flattened List of TestResults.

test.qn:652

suites

The suites enrolled so far.

test.qn:645