Main methods
Assertions
- assert.async()
- assert.deepEqual()
- assert.equal()
- assert.expect()
- assert.false()
- assert.notDeepEqual()
- assert.notEqual()
- assert.notOk()
- assert.notPropEqual()
- assert.notStrictEqual()
- assert.ok()
- assert.propEqual()
- assert.pushResult()
- assert.rejects()
- assert.step()
- assert.strictEqual()
- assert.throws()
- assert.timeout()
- assert.true()
- assert.verifySteps()
Configuration tools
Callback events
- QUnit.begin()
- QUnit.done()
- QUnit.log()
- QUnit.moduleDone()
- QUnit.moduleStart()
- QUnit.on()
- QUnit.testDone()
- QUnit.testStart()
Async control
Other
QUnit is a powerful, easy-to-use JavaScript unit test suite. If you're new to QUnit, check out Getting Started with QUnit on the main site.
QUnit has no dependencies and works in all browsers.