当我运行我的后端测试时,codeship提到没有返回任何内容:
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代码:
gulp.task('testBECodeship', function () {
return gulp.src(paths.specs + '/backend/**/*.spec.js')
.pipe($.jasmine({verbose: true}));
});我也可以只使用jasmine,但我也有使用gulp运行的前端测试,这需要更多的配置。此外,这将是很好的有相同的在我的开发。系统与CI系统上的系统相同。
发布于 2015-05-08 19:37:33
Ahoy Andi这是Codeship团队的Marko我们已经看到了通过Gulp运行jasmine的一些问题,因为插件似乎会等待文件的更改,而不会干净地退出。不过,不用Gulp直接运行jasmine就可以了!
https://stackoverflow.com/questions/30106947
复制相似问题