问题
I have set up my test environment as described here with QunitJS + PhantomJS + GruntJS: http://jordankasper.com/blog/2013/04/automated-javascript-tests-using-grunt-phantomjs-and-qunit/
If I execute the tests (grunt task) locally everything works fine. But If I try to execute the tests on our buildserver it throws following error:
I checked the URL and path several times and the html-document for starting the qunit tests is also available on the configured path on our build server. Any ideas why this error can occur?
回答1:
The URL configuration for the qunit html file in the Grunt task was not correct!
来源:https://stackoverflow.com/questions/24928672/qunitjs-tests-dont-start-phantomjs-timed-out-possibly-due-to-a-missing-qunit