Testing Javascript with QUnit, PhantomJS and JSCover

Javascript is often the part of an application that’s most difficult to test. There are several pieces that fit together to give a framework for running the tests in an automated build system – QUnit, PhantomJS and JSCover.