Runner Listeners
Event
Description
class{
// Called at the beginning of a test bundle cycle
function onBundleStart( target, testResults ){
}
// Called at the end of the bundle testing cycle
function onBundleEnd( target, testResults ){
}
// Called anytime a new suite is about to be tested
function onSuiteStart( target, testResults, suite ){
}
// Called after any suite has finalized testing
function onSuiteEnd( target, testResults, suite ){
}
// Called anytime a new spec is about to be tested
function onSpecStart( target, testResults, suite, spec ){
}
// Called after any spec has finalized testing
function onSpecEnd( target, testResults, suite, spec ){
}
}Last updated
Was this helpful?