1[QUnit](http://docs.jquery.com/QUnit) - A JavaScript Unit Testing framework. 2================================ 3 4QUnit is a powerful, easy-to-use, JavaScript test suite. It's used by the jQuery 5project to test its code and plugins but is capable of testing any generic 6JavaScript code (and even capable of testing JavaScript code on the server-side). 7 8QUnit is especially useful for regression testing: Whenever a bug is reported, 9write a test that asserts the existence of that particular bug. Then fix it and 10commit both. Every time you work on the code again, run the tests. If the bug 11comes up again - a regression - you'll spot it immediately and know how to fix 12it, because you know what code you just changed. 13 14Having good unit test coverage makes safe refactoring easy and cheap. You can 15run the tests after each small refactoring step and always know what change 16broke something. 17 18QUnit is similar to other unit testing frameworks like JUnit, but makes use of 19the features JavaScript provides and helps with testing code in the browser, eg. 20with it's stop/start facilities for testing asynchronous code. 21 22If you are interested in helping developing QUnit, you are in the right place. 23For related discussions, visit the 24[QUnit and Testing forum](http://forum.jquery.com/qunit-and-testing). 25 26Planning for a qunitjs.com site and other testing tools related work now happens 27on the [jQuery Testing Team planning wiki](http://jquerytesting.pbworks.com/w/page/41556026/FrontPage). 28