python3.4.3安装allure2记录

1、安装:cmd执行命令pip install allure-pytesthtml

2、下载allure2:2.7.0版本 https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.zipspa

3、解压到运行 pytest 的目录下,打开\allure-2.7.0\bin 文件夹,复制路径,添加到系统环境变量 path 下:htm

4、生成报告,cmd执行命令 allure generate report/ -o report/htmlblog

5、打开报告:ip

直接找到 report/html 打开 index.html 会显示一个空的报告。用 pycharm 去打开:get

相关文章
相关标签/搜索