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

NUnit test results don't encode characters correctly in unit test report

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Test results contain wrongly encoded characters when evaluating NUnit test results. Some characters are turned into question marks.

      Specifically our test reports contain the following test case and similar ones:

      <test-case name="Test.Namespace.TestSuite.SaveAlphaNumericals("Ö")" executed="True" result="Success" success="True" time="5.411" asserts="19"/>

      (test name simplified and anonymized)

      In the test report view of Jenkins this test case is displayed as:

      SaveAlphaNumericals("??")

      The special characters are turned to ??.

      This happens for all test cases containing special characters like Ä,Ö,Ü or °, so in the test result the cases can't be distinguished anymore.

       

       
       
       

        Attachments

          Activity

          exomo Kai Bublitz created issue -
          exomo Kai Bublitz made changes -
          Field Original Value New Value
          Description Test results contain wrongly encoded characters when evaluating NUnit test results. Some characters are turned into question marks.

          Specifically our test reports contain the following test case and similar ones:

          <test-case name="Test.Namespace.TestSuite.SaveAlphaNumericals("Ö")" executed="True" result="Success" success="True" time="5.411" asserts="19"/>

          (test name simplified and anonymized)

          In the test report view of Jenkins this test case is displayed as:

          [SaveAlphaNumericals("??")|http://our.jenkins.url/job/Run%20Acceptance%20Tests/12345/testReport/Test.Namespace/TestSuite/SaveAlphaNumericals______]

          The special characters are turned to ??.

          This happens for all test cases containing special characters like Ä,Ö,Ü or °, so in the test result the cases can't be distinguished anymore.

           

           
            
          Test results contain wrongly encoded characters when evaluating NUnit test results. Some characters are turned into question marks.

          Specifically our test reports contain the following test case and similar ones:

          <test-case name="Test.Namespace.TestSuite.SaveAlphaNumericals("Ö")" executed="True" result="Success" success="True" time="5.411" asserts="19"/>

          (test name simplified and anonymized)

          In the test report view of Jenkins this test case is displayed as:

          [SaveAlphaNumericals("??")|http://our.jenkins.url/job/Run%20Acceptance%20Tests/12345/testReport/Test.Namespace/TestSuite/SaveAlphaNumericals______]

          The special characters are turned to ??.

          This happens for all test cases containing special characters like Ä,Ö,Ü or °, so in the test result the cases can't be distinguished anymore.

           

           
            
           
          exomo Kai Bublitz made changes -
          Attachment TestResult.xml [ 41833 ]
          slide_o_mix Alex Earl made changes -
          Assignee Alex Earl [ slide_o_mix ]
          smorita Shin-ichi Morita made changes -
          Assignee Shin-ichi Morita [ smorita ]
          smorita Shin-ichi Morita made changes -
          Released As https://github.com/jenkinsci/nunit-plugin/releases/tag/nunit-0.27
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

            Assignee:
            smorita Shin-ichi Morita
            Reporter:
            exomo Kai Bublitz
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: