QunitJS-Tests don't start: PhantomJS timed out, possibly due to a missing QUnit start() call

扶醉桌前 提交于 2019-12-20 06:36:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!