allure报告本地查看方式
一、Mac系统:chrome浏览器直接打开
1. 下载 chrome浏览器
2. 执行以下命令打开chrome,注意:执行前,先退出chrome。注意!注意!注意!
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files
3. 把allure-report解压后的 index.html 直接拖到新打开的浏览器即可。
二、windows系统:chrome浏览器直接打开
chrome浏览器直接打开
- 选择桌面chrome快捷方式,右键 - 》 属性 - 添加 参数:–allow-file-access-from-files, 注意: “ 与 – 之间有空格
- 再通过此快捷方式,打开浏览器。把index.html拖过来即可。