Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63113

No details in JUnit reports for test failing in @BeforeAll with Surefire-3.0.0-M5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None

      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:


            Unassigned Unassigned
            mguillem Marc Guillemot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: