allure-junit5不能在beforeall和afterall里面添加步骤,是allure-junit5未记录用例完整周期的缺陷,替换each或者在其他地方记录,该bug不会阻塞用例正常运行
相关issue
- https://github.com/allure-framework/allure-java/issues/284
- https://github.com/allure-framework/allure2/issues/872
相关报错
ERROR io.qameta.allure.AllureLifecycle - Could not add attachment: no test is running