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

Test case names with "<text>" are not escaped properly when shown in html

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None
    • any

      If the test name contains "<" then it are outputed as html "<" and not escaped properly into "<".

      I got an issue with the NUnit plugin that contain parameterized tests and they output a JUnit file with test case names containing "Vizrt.Utilities.Tests.TestByteStringParser<UTF8Encoding>". This is shown as "TestByteStringParser<UTF8Encoding>" in the HTML which of course is wrong as you dont see the UTF8Encoding bit.

      Ive attached a sample of the junitResult.xml which can be found in each build folder.

            mindless Alan Harder
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: