摘要: 需要切换到run(unittest) 阅读全文
posted @ 2022-04-28 15:36 GoodMorning9527 阅读(27) 评论(0) 推荐(0) 编辑
摘要: import datetimeimport osimport shutilimport allureimport pytest@allure.epic("今天4.28")@allure.feature("今天是4月25日")#模块名称class Test_01(): @allure.story("这 阅读全文
posted @ 2022-04-28 14:03 GoodMorning9527 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1,第一种(allure serve)# 执行 pytest,指定 allure 结果目录 pytest -sq --alluredir=./allure # 打开 allure 报告 allure serve ./allure2,第二种(allure generate + allure open) 阅读全文
posted @ 2022-04-28 11:34 GoodMorning9527 阅读(408) 评论(0) 推荐(0) 编辑