QUnit.only( name, callback )
Description: Adds a test to exclusively run, preventing all other tests from running.
nameType: StringTitle of unit being tested
callbackFunction to close over assertions
Use this method to focus your test suite on a specific test.
QUnit.only will cause any other tests in your suite to be ignored.
Note, that if more than one
QUnit.only is present only the first instance will run.
This is an alternative to filtering tests to run in the HTML reporter. It is especially useful when you use a console reporter or in a codebase with a large set of long running tests.
How to use
QUnit.only to filter your test suite.