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

Nunit: Display output from testcase in generated report

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: nunit-plugin
    • Labels:
      None
    • Environment:
      Nunit plugin 0.22
    • Similar Issues:

      Description

      The output from our tests contains useful information about the test run, but it is not displayed in the generated view.

      For example: the test XML

      {{ <test-case id="1002" name="TestAllRawCurveData" fullname="NameSpace.TestIntegration.TestCurveData.TestAllRawCurveData" methodname="TestAllRawCurveData" classname="NameSpace.TestIntegration.TestCurveData" runstate="Runnable" seed="1869335963" result="Passed" start-time="2017-12-11 08:50:28Z" end-time="2017-12-11 08:51:50Z" duration="81.975050" asserts="709785">}}
      {{ <output><![CDATA[Connecting to Database}}
      {{ Project Filename : C:\data\\DataDir\DataFile.dat}}
      {{ Licence Server : ***}}
      {{ Author : Demo}}
      {{ Well subset : }}
      Checking 2369 log ids
      ]]></output>
      {{ </test-case>}}

      The generated view does not contain the content of the <output></output> - it just contains the test name.

       

       

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Will be fixed in 0.23

          Show
          slide_o_mix Alex Earl added a comment - Will be fixed in 0.23
          Hide
          bhavin88 Bhavin Patel added a comment -

          A quick question, when is 0.23 release planned? 

          Show
          bhavin88 Bhavin Patel added a comment - A quick question, when is 0.23 release planned? 
          Hide
          slide_o_mix Alex Earl added a comment -

          I'm trying to do a release now, but running into some issues.

          Show
          slide_o_mix Alex Earl added a comment - I'm trying to do a release now, but running into some issues.
          Hide
          bhavin88 Bhavin Patel added a comment -

          Thanks for the new release Alex Earl

          Nunit plugin now populates Standard output as well in Jenkins. The plugin works as expected. 

          Show
          bhavin88 Bhavin Patel added a comment - Thanks for the new release Alex Earl .  Nunit plugin now populates Standard output as well in Jenkins. The plugin works as expected. 
          Hide
          slide_o_mix Alex Earl added a comment -

          Bhavin Patel great to hear, thanks for following up

          Show
          slide_o_mix Alex Earl added a comment - Bhavin Patel great to hear, thanks for following up

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            captainwhippet Nathan Lindop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: