-->

QunitJS-Tests don't start: PhantomJS timed out

2020-05-06 11:24发布

问题:

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!