PhantomJS provides an onError callback that could be implemented to provide better insight to errors in invoked qunti html page. Right now its pretty impossible to diagnose issues that exist in PhantomJS and not within a browser using the QUnit /index.html test page.