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

NUnit plugin doesn't convert ignored tests

    Details

    • Similar Issues:

      Description

      Ignored tests don't show up in Hudson's testreport. They should appear as 'skipped'.

        Attachments

          Activity

          ickersep ickersep created issue -
          Hide
          ickersep ickersep added a comment -

          Attached is a modified nunit-to-junit.xsl that adds ignored tests as 'skipped' to Hudson's test report.

          Show
          ickersep ickersep added a comment - Attached is a modified nunit-to-junit.xsl that adds ignored tests as 'skipped' to Hudson's test report.
          ickersep ickersep made changes -
          Field Original Value New Value
          Attachment nunit-to-junit.xsl [ 19362 ]
          Hide
          redsolo redsolo added a comment -

          Thanks for the XSL, I will have a look at it this weekend.

          Show
          redsolo redsolo added a comment - Thanks for the XSL, I will have a look at it this weekend.
          Hide
          redsolo redsolo added a comment -

          Could you attach a NUnit XML report containing skipped tests so I can write some unit tests?

          Show
          redsolo redsolo added a comment - Could you attach a NUnit XML report containing skipped tests so I can write some unit tests?
          ickersep ickersep made changes -
          Attachment testcase-results.xml [ 19366 ]
          Hide
          ickersep ickersep added a comment -

          Added NUnit XML report with ignored test

          Show
          ickersep ickersep added a comment - Added NUnit XML report with ignored test
          Hide
          ickersep ickersep added a comment - - edited

          Just noticed that with my nunit-to-junit.xsl I get the correct result on Linux (Hudson reports tests as skipped). On Windows however this still doesn't work. XSL produces the same output, but Hudson doesn't report tests as skipped.

          Show
          ickersep ickersep added a comment - - edited Just noticed that with my nunit-to-junit.xsl I get the correct result on Linux (Hudson reports tests as skipped). On Windows however this still doesn't work. XSL produces the same output, but Hudson doesn't report tests as skipped.
          Hide
          ickersep ickersep added a comment -

          It didn't work because I copied it in the wrong directory (somehow I have two plugin directories...). After putting it in the correct one it works!

          Show
          ickersep ickersep added a comment - It didn't work because I copied it in the wrong directory (somehow I have two plugin directories...). After putting it in the correct one it works!
          Hide
          vansha vansha added a comment -

          Any chances to see this issue fixed?

          Show
          vansha vansha added a comment - Any chances to see this issue fixed?
          Hide
          ickersep ickersep added a comment - - edited

          Any chance to get this fix in and release a new version of the plugin? I'm using it with my proposed fix for almost a year now without any problems on both Linux and Windows (i.e. until I updated to 0.11. Then I had to remember to replace the nunit-to-junit.xsl file again... For anyone interested (and for my reference for later): this file is in <jenkins root>/plugins/nunit/WEB-INF/classes/hudson/plugins/nunit)

          Show
          ickersep ickersep added a comment - - edited Any chance to get this fix in and release a new version of the plugin? I'm using it with my proposed fix for almost a year now without any problems on both Linux and Windows (i.e. until I updated to 0.11. Then I had to remember to replace the nunit-to-junit.xsl file again... For anyone interested (and for my reference for later): this file is in <jenkins root>/plugins/nunit/WEB-INF/classes/hudson/plugins/nunit)
          Hide
          redsolo redsolo added a comment -

          I had too much stuff to do last year, and then I just forgot about the issue. Sorry about that. I will take a look at it during this week now when Ive surfaced again

          Show
          redsolo redsolo added a comment - I had too much stuff to do last year, and then I just forgot about the issue. Sorry about that. I will take a look at it during this week now when Ive surfaced again
          redsolo redsolo made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          redsolo redsolo added a comment -

          Updated the NUnit xsl and added test case from your XML file. Thanks for providing a fix for this issue! The fix is going into the next version that is going out now.

          Show
          redsolo redsolo added a comment - Updated the NUnit xsl and added test case from your XML file. Thanks for providing a fix for this issue! The fix is going into the next version that is going out now.
          redsolo redsolo made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          ickersep ickersep made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136448 ] JNJira + In-Review [ 204044 ]

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              ickersep ickersep
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: