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

    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

          mguillem Marc Guillemot created issue -
          mguillem Marc Guillemot added a comment - PR created: https://github.com/jenkinsci/junit-plugin/pull/135
          timja Tim Jacomb made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: