Configuration host providing access to global configuration and utilities Will be set before the test run starts
The context used as the 'this' value when executing test functions Can be used to share state or utilities across tests Will be set before the test run starts
OptionalendThe end time of the test run (milliseconds since epoch) Will be set when the test run completes
OptionalfiltersOptional filters to control which suites and/or tests should be run Filters are applied in the order they are added, and all filters must allow a suite/test for it to be run Filters can be added/removed dynamically during the test run
OptionalhookThe raw errors behind hookFailures, kept (unserialized, by reference) so that a
rejection propagating out of the run can be recognised as one already recorded above --
see the runner's own _isRecordedHookError.
OptionalhookEvery lifecycle hook that failed or timed out so far during the current run, in failure order -- reset at the start of each run() and surfaced on the run summary.
OptionalmetricsRunner execution metrics for the current run
Root suite to run (including all child suites and tests) Will be set before the test run starts
The start time of the test run (milliseconds since epoch) Will be set when the test run starts
Retrieves the current result for a given suite, if none currently exists a new result will be created.
Retrieves the current result for a given test, if none currently exists a new result will be created.
Context defining which test suites and/or test cases to run
Since
0.2.0