pytest生成测试报告-4种方法时间:2023-03-10 01:00:52 1、生成resultlog文件 2、生成JunitXML文件 3、生成html测试报告 > pip install pytest-html # 通过pip安装pytest-html 4、生成allure测试报告 >pip install allure-pytest 安装allure库 下载https://github.com/allure-framework/allure2/releases 配置环境变量:D:\allure-2.10.0\bin