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).
Just published a kind of ad-hoc script that I use to run QUnit tests headlessly with PhantomJS.
Take a look if you're interested: https://github.com/DavidDurman/ghost-qunit-runner