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

Nunit test report does not publish Attachments and Standard Output

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: nunit-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      TestContext.AddTestAttachment does not attach the attachments with the scenarios 

      Issue link

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Most of the *unit plugins in Jenkins rely on the junit display functionality, which I do not believe supports attachments, so the attachments part probably will take some time and possible checking if the junit plugin supports something like that at all, or could be made to do so.

          Show
          slide_o_mix Alex Earl added a comment - Most of the *unit plugins in Jenkins rely on the junit display functionality, which I do not believe supports attachments, so the attachments part probably will take some time and possible checking if the junit plugin supports something like that at all, or could be made to do so.
          Hide
          bhavin88 Bhavin Patel added a comment -

          Thank for the update Alex Earl

           

          Another query is, is there any way attaching standard output with the feature result. 

          Here is the exact scenario Required feature

          Show
          bhavin88 Bhavin Patel added a comment - Thank for the update Alex Earl   Another query is, is there any way attaching standard output with the feature result.  Here is the exact scenario  Required feature
          Hide
          slide_o_mix Alex Earl added a comment -

          Yes, I am working on that.

          Show
          slide_o_mix Alex Earl added a comment - Yes, I am working on that.
          Hide
          bhavin88 Bhavin Patel added a comment -

          Okay. Thanks in Advance Alex Earl

          Show
          bhavin88 Bhavin Patel added a comment - Okay. Thanks in Advance Alex Earl
          Show
          slide_o_mix Alex Earl added a comment - See  https://issues.jenkins-ci.org/browse/JENKINS-48478
          Hide
          slide_o_mix Alex Earl added a comment -

          Can you upload a full output xml file from Nunit that has the attachments?

          Show
          slide_o_mix Alex Earl added a comment - Can you upload a full output xml file from Nunit that has the attachments?
          Hide
          bhavin88 Bhavin Patel added a comment - - edited

          PFA AutoTestResult.xml file

           

          It contains Output tag with content and Attachments as well. 

          Hope this will help. 

          Show
          bhavin88 Bhavin Patel added a comment - - edited PFA AutoTestResult.xml file   It contains Output tag with content and Attachments as well.  Hope this will help. 
          Hide
          slide_o_mix Alex Earl added a comment -

          It looks like there is an additional plugin that is used for attachments in JUnit results. I am looking at how to incorporate something similar to the NUnit plugin to support attachments.

          Show
          slide_o_mix Alex Earl added a comment - It looks like there is an additional plugin that is used for attachments in JUnit results. I am looking at how to incorporate something similar to the NUnit plugin to support attachments.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bhavin88 Bhavin Patel
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: