How to Test your JavaScript Code with QUnit A simple example of how to use QUnit for unit testing with extra goodies like JQuery-Lint and FireUnit support. This code also should pass a JSLint run. If it doesn't, that's a bug, please report it via GitHub. See http://net.tutsplus.com/tutorials/javascript-ajax/how-to-test-your-javascript-code-with-qunit/