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

    Details

    • 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:


        Attachments

          Activity

          Show
          mguillem Marc Guillemot added a comment - PR created: https://github.com/jenkinsci/junit-plugin/pull/135

            People

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

              Dates

              Created:
              Updated:
              Resolved: