目录
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