QUnit API Documentation


QUnit is a powerful, easy-to-use JavaScript unit test suite. If you're new to QUnit or even just new to unit testing, you might want to check out the Introduction to JavaScript Unit Testing. There's also a QUnit Cookbook on the main site.

To get started, use the search at the top of the page, view the full listing of entries, or browse by category:

  • Assert
  • Async Control
  • Callbacks
  • Configuration
  • Test

QUnit has no dependencies and works in all browsers.