持续集成:使用Gulp和x2B进行测试;编码(大口茉莉花)

持续集成:使用Gulp和x2B进行测试;编码(大口茉莉花),gulp,codeship,Gulp,Codeship,当我运行后端测试时,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

当我运行后端测试时,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系统上具有相同的功能也会很好。

这里的代码船工作人员的Ahoy Andi,Marko。我们已经看到通过Gulp运行
jasmine
时出现了一些问题,因为插件似乎会等待文件的更改,而不会干净地退出。不过,直接运行
jasmine
而不大口大口大口大口喝也行