重新运行量角器超时或失败的测试 [英] Re-run protractor timeout or failed tests

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

问题描述

我没有找到(使用量角器)的可能性重新运行失败的测试任何引用。
你知道该怎么做?
这将是伟大的,因为我有很多的测试,我不喜欢再次运行所有测试,以验证$ P $是否pviously失败的测试通过与否。

I didn't find any reference for the possibility to re-run failed tests (using protractor). Do you know how to do that? It would be great because I have a lot of tests and I don't like to run again all the tests to verify whether the previously failed tests passes or not.

不要任何人有这方面的经验?
这将是这样的:

Do anyone have experience with it? It would like this:


  • 运行所有测试

  • 收集失败的测试,然后再次运行那些(也许我可以设置以某种方式重试限制像2〜3次)

  • 显示结果

推荐答案

据我了解,目前这是不可能的,但有一个开放的功能要求:

As far as I understand, currently it is not possible, but there is an open feature request:

  • Feature to execute failed tests only

这篇关于重新运行量角器超时或失败的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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