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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • xunit-plugin
    • None
    • Jenkins 1.653, Linux

      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.

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

              Created:
              Updated:
              Resolved: