Fork me on GitHub
摘要: 前言 测试失败后要重新运行n次,要在重新运行之间添加延迟时间,间隔n秒再运行 安装:pip install pytest-rerunfailures 案例 import pytest class TestDemo: def test_a(self): print("失败用例") assert 1 = 阅读全文
posted @ 2024-05-13 09:59 测栈云 阅读(87) 评论(0) 推荐(0)