jonkemp / jonkemp/gulp-qunit

Error in plugin after a failed test

Open
#25 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
24
Forks
19
PR merge metrics
No merged PRs in 30d

Description

I have troubles running this plugin. I a test runner has all tests passed then everything is ok, but when some test fails, the plugin ends with error:

```
[00:09:37] Error in plugin 'gulp-qunit'
Message:
Command failed: PATH_TO_PROJECT\node_modules\gulp-qunit\node_modules\phantomjs\lib\phantom\phantomjs.exe PATH_TO_PROJECT\node_modules\gulp-qunit\node_modules\qunit-phantomjs-runner\runner-json.js file:///w:/projects/Twinstone/TDI/src/tests/test.html 10

Details:
killed: false
code: 1
signal: null
cmd: PATH_TO_PROJECT\node_modules\gulp-qunit\node_modules\phantomjs\lib\phantom\phantomjs.exe PATH_TO_PROJECT\node_modules\gulp-qunit\node_modules\qunit-phantomjs-runner\runner-json.js file:///w:/projects/Twinstone/TDI/src/tests/test.html 10
```

It crashes event with the simplest test:

``` html

Test1




QUnit.test("Test1", function(assert) {
assert.ok(false, "lorem");
});

```

Gulpfile:

``` javascript
...
gulp.task('test', function () {
return gulp.src('test.html')
.pipe(qunit());
});
...
```

Any idea what is wrong, or what do I do wrong?

windows
node: v4.1.2
gulp-qunit: 1.2.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.