pytest的用例失败重跑

2019-09-26  本文已影响0人  偶然路过的靓仔_胡阳

pip install pytest-rerunfailures 安装插件

执行的时候pytest --reruns 1(失败的用例再运行一次)

上一篇 下一篇

猜你喜欢

热点阅读