我需要在 Allure 报告中列出所有测试,而不按错误消息、套件、包等分组。像这样:
尝试在 allure-results 文件夹中使用categories.json:
[
{
"name": "List of all tests",
"mathedStatuses": ["broken", "failed", "skipped", "passed"]
}
]
但是 Allure 错误地对测试进行了分组:
环境:java11,gradle,testNg,Allure 2.20.1
提前致谢!
ps:chatGpt 根本没有帮助))
也许是因为“mathedStatuses”中的拼写错误?你应该使用:
[
{
"name": "List of all tests",
"matchedStatuses": ["broken", "failed", "skipped", "passed"]
}
]