0

I am using Grunt to run Qunit tests for a SAPUI5 application. Here is my Gruntfile.js

module.exports = function(grunt) {
  grunt.loadNpmTasks("grunt-contrib-qunit");

  grunt.initConfig({
    qunit: {
      all: ["OpaMatchers.html"]
    }
  });
};

When all my (currently two) specs pass, I get the expected Output

.OK
>> 2 assertions passed (11606ms)

However, If only one of them fails I get:

>> PhantomJS timed out, possibly due to a missing QUnit start()
Warning: 1/1 assertions failed (0ms) Use --force to continue.
SDD64
  • 706
  • 13
  • 28

1 Answers1

0

I did copy the OPA5 specs from another source. Since I wronte a set of completely new ones, the error above can not be replicated.

SDD64
  • 706
  • 13
  • 28
  • Were you able to identify the cause for the issue ? Now, i face the same when any of the test fails. – sakthi Jul 15 '15 at 06:10
  • For anyone else running into the same problem, the following answer should help you: http://stackoverflow.com/a/34928952 – c.hill Jan 26 '16 at 15:10