当我运行我的后端测试时,代码提到没有返回任何内容:
13 specs, 0 failures
Finished in 0 seconds
[16:31:49] Finished 'testBECodeship' after 5.34 s
This command didn't output anything for for a while, thus we stopped it. If the error is on our end please inform us so we can help you to fix this.
Gulp Code:
gulp.task('testBECodeship', function () {
return gulp.src(paths.specs + '/backend/**/*.spec.js')
.pipe($.jasmine({verbose: true}));
});
我也可以使用茉莉花,但我也有使用gulp运行的前端测试,这需要更多配置。在我的开发中也一样好。系统与CI系统一样。
答案 0 :(得分:0)
Ahoy Andi,来自Codeship工作人员的Marko。我们已经看到了通过Gulp运行jasmine
的一些问题,因为它似乎会等待文件的更改而不是干净地退出。直接运行jasmine
没有Gulp会工作!