目录
How to re-run failure tests of suite
Put all failure tests into new suite
前言
今天跟一素未谋面的网友讨论python调用robot framework api重新re-run-failure-test的问题, 很遗憾未能帮得上忙。
便抽空结合官方的例子写了个小demo, 下面一起来看看吧!
How to re-run failure tests of suite
- Gather all failure tests
- put those tests into new suite
- run the suite
- done
Simple demo
- two test case of the suites
- one pass, one fail

Gather all failure tests
Gather all failure tests from result

Put all failure tests into new suite

The whole demo

本文探讨了如何使用Python调用Robot Framework API来重新运行测试套件中的失败测试。通过一个简单示例,展示了收集所有失败测试、将它们放入新测试套件并重新运行的过程。

997

被折叠的 条评论
为什么被折叠?



