Other types of tests

QUnit comes with a number of other test functions as well. Some, such as notEqual() and notDeepEqual(), are simply the inverses of functions we've used, while others such as strictEqual() and throws() have more distinct uses. More information about these functions, as well as details and additional examples regarding QUnit in general, are available on the QUnit website (http://qunitjs.com/) as well as the QUnit API site (http://api.qunitjs.com/).

Get Learning jQuery - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.