Module trial.runner

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

Functions

NameDescription
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, testName, suiteName) Runs the tests and returns the results
setupLifecycle(settings) setup the LifeCycle collection
toJSONHierarchy(items)