首页 > 技术文章 > (二十七)pytest的单个用例多次执行
wx921308494 2019-12-01 17:40 原文
pip install pytest-repeat 安装插件
再所要执行的用例上添加装饰器
@pytest.mark.repeat(10)