退出量角器 e2e 测试失败? [英] Exit Protractor e2e test on fail?

查看:21
本文介绍了退出量角器 e2e 测试失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道是否有一个配置可以添加到量角器的 e2e.conf.js 中,这样一旦失败就退出测试?默认行为是,如果测试早期失败,您需要等到它完成修复错误.

Does anyone out there know if there is a config that can be added to protractor's e2e.conf.js so it exits the test once it fails? Default behaviour is that if a test fails early on, you need to wait until it finishes to fix the error.

从工作流程的角度来看,这非常令人沮丧.

From a workflow perspective, this is very frustrating.

有解决这个问题的办法吗?

Any solutions to this problem?

谢谢

推荐答案

没有这个选项.你可以实现 jasmine-bail-fast

no this option is missing. you could implement jasmine-bail-fast

这篇关于退出量角器 e2e 测试失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆