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 supports Node.js, SpiderMonkey, and all major browsers.