QUnit.start() must be used to start a test run that has QUnit.config.autostart set to false.

Warning: This method was previously used to control async tests on text contexts along with QUnit.stop. For asynchronous tests, use assert.async instead.

When your async test has multiple exit points, call QUnit.start() for the corresponding number of QUnit.stop() increments.


A test run that does not begin when the page is done loading. This example uses an Asynchronous Module Definition (AMD) loader-style require call.

QUnit.config.autostart = false;

require(["test/tests1.js", "test/tests2.js"], function() {