下载地址:https://github.com/allure-framework/allure2
https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/
1.下载完成解压allure压缩文件,目录:D:\Tools\allure-2.8.0\bin 双击allure.bat运行,进行环境变量配置
1>ALLURE_HOME: D:\Tools\allure-2.8.0
2>PATH: %ALLURE_HOME%bin
3>CMD弹出命令窗口输入: allure --version
2.通过pytest进行生成alluer报告,需要安装alluer在pytest中的第三方插件allure-pytest
命令安装插件: pip install allure-pytest
3.编写测试用例