在命令行中使用--max-history参数指定历史记录的最大数量,例如:
allure generate --max-history 20
这将限制历史记录的数量为20条。如果要不限制历史记录的数量,可以将参数值设置为0:
allure generate --max-history 0
注意:在使用该参数时,需要安装Allure版本2.13.0或更高版本。
上一篇:Allure生成空报告,Cucumber7
下一篇:Allure是否支持Bitbucket Pipelines?