【发布时间】:2020-09-21 11:23:18
【问题描述】:
在测试结果中:
junit.framework.AssertionFailedError: 预期: 但是是:
在魅力中:
测试失败
我需要让它在 Allure 中失败。
【问题讨论】:
在测试结果中:
junit.framework.AssertionFailedError: 预期: 但是是:
在魅力中:
测试失败
我需要让它在 Allure 中失败。
【问题讨论】:
你的 pom.xml 中有这个插件吗? 如果没有,请尝试添加
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.9</version>
<configuration>
<reportVersion>2.6.0</reportVersion>
</configuration>
</plugin>
【讨论】: