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

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

    • 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.

          [JENKINS-5982] Test case names with "<text>" are not escaped properly when shown in html

          redsolo created issue -
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136075 ] New: JNJira + In-Review [ 203840 ]

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

              Created:
              Updated:
              Resolved: