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

Some NUnit test results show blank "Test name" attribute in web view

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: nunit-plugin
    • Labels:
      None
    • Environment:
      Linux
    • Similar Issues:

      Description

      We have various NUnit tests that run in our project, that create .xml files for the results. Hudson has been able to use these quite well in the past, showcasing the results in web format - i.e. the list where you have the various test names, how long they took to run, and whether they passed or not.

      However, we recently uploaded a new project, which Hudson seems to have issues with - in looking at the results page, there is a list of all the tests - but the "Test name" fields are blank for all of them. They're ordered in the same order that they appear in the .xml report file, and the web page accurately shows whether they passed or not, as well as how long they took to run - but the test names simply aren't there.

      In comparing the new project with the old, there seems to be only one difference - the new ones get their test names using the NUnit "TestCaseSource" attribute. We're guessing that perhaps Hudson is unable to read the test name results for these, due to them having 4 levels of hierarchy, rather than 3 as our other ones do.

      Is there any other information you would need to have to help diagnose this? Let me know in some fashion, and I'll do what I can to get the information for you. I can also attach a screen shot, if a visual aid would help.

        Attachments

        1. APITests.cs
          2 kB
        2. BrowserNamesTest1.cs
          0.8 kB
        3. hudson-screenshot.jpg
          hudson-screenshot.jpg
          31 kB
        4. nunit_remote.xml
          87 kB
        5. nunit_remote.xml
          20 kB
        6. nunit-to-junit.xsl
          2 kB
        7. nunit-to-junit-20110330.xsl
          3 kB
        8. nunit-to-junit-20110330b.xsl
          3 kB
        9. TestResult_2.xml
          7 kB
        10. TestResult.xml
          4 kB
        11. VisualTests.cs
          15 kB

          Activity

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              telgabrowny telgabrowny
            • Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: