pip install pytest-repeat 安装插件
再所要执行的用例上添加装饰器
@pytest.mark.repeat(10)
本文标题:pytest的单个用例多次执行
本文链接:https://www.haomeiwen.com/subject/jgbnuctx.html
网友评论