-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
questionFurther information is requestedFurther information is requested
Description
方法一:
- 使用version1.0 zip_file.py代码把整个allure报告压缩,然后邮件中以附件方式发送给领导
- 弊端: 领导需要先下载附件并解压,然后使用Idea/Pycharm/Vscode(安装Live Server插件)把整个解压后的报告目录打开,再在里面打开index.html
方法二:
# 1. 使用python 打开一个局域网服务并挂载allure报告文件目录,其中8080 是端口可自定义,-d xxx ,xxx是allure报告目录路径
python -m http.server 8080 -d C:\Users\zy7y\Desktop\apiAutoTest\report\html
# 它人访问 只需要使用你的内网IP:8080 即可 例如: http://192.168.0.38:8080/- 弊端:局域网服务外网无法访问(可通过外网映射解决),电脑关机http服务停止,他人无法再查看报告。
方法三:
- jeknis构建(jenkins承载邮件服务,报告托管):https://www.cnblogs.com/zy7y/p/13448102.html
- 弊端,需要有个服务器或者一直不断电的工作机
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested