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

For Unittest++ xml, only the first failure of each test case is recognized

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.653, Linux
    • Similar Issues:

      Description

      For this example xml:

      <?xml version="1.0"?>
      <unittest-results>
        <test suite="Package.Suite" name="Testname">
          <failure message="Path/Filename.cxx(1) : Failed A"/>
          <failure message="Path/Filename.cxx(2) : Failed B"/>
          <failure message="Path/Filename.cxx(3) : Failed C"/>
        </test>
      </unittest-results>
      

      the xUnit plugin shows only the first failure "Failed A" in the web UI. The 2nd and 3rd failures ("Failed B" and "Failed C") were not displayed.

        Attachments

          Activity

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              joe_merten Joe Merten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: