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

For Unittest++ xml, only the content of the first <system-out> tag of each test case is recognized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • 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">
          <system-out>Some output at the beginning of the test</system-out>
          <failure message="Path/Filename.cxx(1) : Failed for some reason"/>
          <system-out>Some output at the end of the test</system-out>
        </test>
      </unittest-results>
      

      the xUnit plugin shows only the content of the first <system-out> tag.
      The content of the second <system-out> tag "Some output at the end of the test" is not displayed.

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

              Created:
              Updated:
              Resolved: