QUnit. The jQuery unit testing framework is now documented and supported as a separate project.
Tagged unittests, testing, javascript, jquery, qunit