更多功能查看官方文档:https://pytest-html.readthedocs.io/en/latest/3、Allure框架生成测试报告
下载地址:https://github.com/allure-framework/allure2/releases【windows】下:
mac安装jdk参考:https://www.jianshu.com/p/199cd1abd570安装jdk完毕后,再次验证框架是否安装成功
注意:不指定的话会自动在当前目录创建一个allure_report目录步骤2:根据测试数据生成html报告
补充:可通过命令创建web服务打开创建的报告文件方法2:直接启动web服务打开报告(不生成报告文件)
allure open -h 127.0.0.1 -p 5555 ./report/html
参考
https://developer.aliyun.com/article/948360
https://www.cnblogs.com/qican/p/14573869.html
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |