(二十七)pytest的单个用例多次执行

pip install pytest-repeat 安装插件

再所要执行的用例上添加装饰器

@pytest.mark.repeat(10)

猜你喜欢

转载自www.cnblogs.com/wx921308494/p/11966768.html