A simple test runner for QUnit
Usage: phantomjs testrunner.js URL_TO_YOUR_TESTFILE accepts http:// and file:// uris
Returns 0 when tests pass and 1 when something didn't go as expected (useful for use with continuous integration systems like CruiseControl).
Found a version which works in PhantomJS 1.2:
http://joseoncode.com/2011/08/08/javascript-continuous-testing-with-qunit-phantomjs-and-powershell/