在本地allure-report文件夹目录下新建.bat文件
文件内容如下:
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
cd ..
:: 【这里的 html 换成你自己文件夹的名字】
allure open html
双击打开该文件即可
在本地allure-report文件夹目录下新建.bat文件
文件内容如下:
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
cd ..
:: 【这里的 html 换成你自己文件夹的名字】
allure open html
双击打开该文件即可