首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >持续集成:使用Gulp + Codeship (gulp-jasmine)进行测试

持续集成:使用Gulp + Codeship (gulp-jasmine)进行测试
EN

Stack Overflow用户
提问于 2015-05-08 00:36:21
回答 1查看 396关注 0票数 0

当我运行我的后端测试时,codeship提到没有返回任何内容:

代码语言:javascript
复制
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代码:

代码语言:javascript
复制
gulp.task('testBECodeship', function () {

  return gulp.src(paths.specs + '/backend/**/*.spec.js')
    .pipe($.jasmine({verbose: true}));
});

我也可以只使用jasmine,但我也有使用gulp运行的前端测试,这需要更多的配置。此外,这将是很好的有相同的在我的开发。系统与CI系统上的系统相同。

EN

回答 1

Stack Overflow用户

发布于 2015-05-08 19:37:33

Ahoy Andi这是Codeship团队的Marko我们已经看到了通过Gulp运行jasmine的一些问题,因为插件似乎会等待文件的更改,而不会干净地退出。不过,不用Gulp直接运行jasmine就可以了!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30106947

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档