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

Nunit: Display output from testcase in generated report

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • nunit-plugin
    • None
    • Nunit plugin 0.22

      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.

       

       

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

              Created:
              Updated:
              Resolved: