摘要: 第一种:对所有用例使用1、安装:pip install pytest-rerunfailures 2、命令行参数:pytest -- reruns 重试次数 (--reruns-delay 次数之间间隔) pytest --reruns 2 运行失败的用例可以执行2次 pytest --reruns 阅读全文
posted @ 2019-12-31 16:21 冥鸿 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: 一、parallel 1、安装 pip install pytest-parallel 2、操作命令 –workers (optional) *:多进程运行需要加此参数, *是进程数。默认为1。 –tests-per-worker (optional) *:多线程运行, *是每个worker运行的最 阅读全文
posted @ 2019-12-31 16:18 冥鸿 阅读(3167) 评论(0) 推荐(0) 编辑
Live2D