pytest-allure清空上一次运行的记录(--clean-alluredir)用例重复显示
摘要:指定--clean-alluredir参数清空上一次执行记录: 如果我们想每次执行用例的时候都生成新的测试报告,那么我们可以在命令中加上--clean-alluredir参数。 我们先来看一下跟报告相关的三个参数,命令行中使用pytest -h查看: --alluredir=DIR:指定测试报告的生
阅读全文
posted @
2021-10-18 12:28
fxh嘟嘟
阅读(480)
推荐(0) 编辑
jenkins+pytest+allure+python ModuleNotFoundError: No module named 'pytest'
摘要:Traceback (most recent call last): File "main.py", line 1, in <module> import pytest ModuleNotFoundError: No module named 'pytest' 当程序在本地可以运行并可生成报告,但是
阅读全文
posted @
2021-02-05 20:59
fxh嘟嘟
阅读(1256)
推荐(0) 编辑