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.