Module trial.runner

The main runner logic. You can find here some LifeCycle logic and test runner initalization

Functions

NameDescription
addExecutor(name, settings) Adds the executor named name to the LifeCycle listeners collection
addReporter(name, settings) Adds an embeded reporter listener to the LifeCycle listeners collection
describeTests() Returns an associative array of the detected tests, where the key is the suite name and the value is the TestCase
isSuccess(results) Check if a suite result list is a success
runTests(tests) Runs the tests and returns the results
setupLifecycle(settings) setup the LifeCycle collection
toJSONHierarchy(items)
withAgentReporter(reporters) Returns the reporters with the console ones replaced by the agent reporter
withArguments(settings, arguments, isAgentHarness) Returns the settings overridden by the command line arguments and the agent harness reporter

Global variables

NameTypeDescription
consoleReporters immutable(char[][]) The reporters that print for a human reading a terminal