QUnit.testStart()


QUnit.testStart( callback )

Description: Register a callback to fire whenever a test begins.

Example:

Register a callback that logs the module and name

1
2
3
QUnit.testStart(function( details ) {
console.log( "Now running: ", details.module, details.name );
});