当我运行后端测试时,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.task('testBECodeship', function () {
return gulp.src(paths.specs + '/backend/**/*.spec.js')
.pipe($.jasmine({verbose: true}));
});
我也可以只使用 jasmine,但我也使用 gulp 运行前端测试,这需要更多配置。在我的开发人员上也有同样的东西会很好。CI 系统上的系统。