Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: junit-plugin
-
Labels:None
-
Similar Issues:
Description
Surefire 3.0.0-M5 generates an XML report with an empty name attribute, when a test fails in a @BeforeAll method (https://issues.apache.org/jira/browse/SUREFIRE-1822):
<testcase name="" classname="de.parcit.kggui.vorkalk.zielwertsuche.TestVKZielwertsucheWbp" time="62.758"> <error type="java.util.concurrent.TimeoutException"><![CDATA[java.util.concurrent.TimeoutException: initAnwendung() timed out after 60 seconds ]]></error>
As a consequence, the failure details are not displayed in Jenkins:
PR created: https://github.com/jenkinsci/junit-plugin/pull/135