← Back to team overview

nunit-core team mailing list archive

[Bug 677007] Re: TestFixtureSetup does not show stacktrace when it fails.

 

The XML output that we parse to generate the report. Here is an example:

- <test-case name="Details of the test case 1" executed="True" result="Failure" success="False" time="0.000" asserts="0">
- <categories>
  <category name="Ninjato" /> 
  <category name="SDC" /> 
  <category name="Subscription" /> 
  <category name="Nightly" /> 
  </categories>
- <failure>
- <message>
- <![CDATA[ TestFixtureSetUp failed in SDCNinjatoTests
  ]]> 
  </message>
  <stack-trace /> 
  </failure>
  </test-case>
- <test-case name="Details of the test case 2" executed="True" result="Failure" success="False" time="0.000" asserts="0">
- <categories>
  <category name="SDC" /> 
  <category name="Nightly" /> 
  <category name="Ninjato" /> 
  <category name="Subscription" /> 
  </categories>
- <failure>
- <message>
- <![CDATA[ TestFixtureSetUp failed in SDCNinjatoTests
  ]]> 
  </message>
  <stack-trace /> 
  </failure>
  </test-case>

--------------------------------------------------------------------------
Please note that the XML only has this information: - <![CDATA[ TestFixtureSetUp failed in SDCNinjatoTests 
and does not tell what exactly failed. With only this infiormation available, it becomes hard to debug the failure. Will appreciate to understand if I am missing something here or this needs a fix.

thanks,
apurv

-- 
TestFixtureSetup does not show stacktrace when it fails.
https://bugs.launchpad.net/bugs/677007
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: New

Bug description:
Please provide stack trace for fixture failures. It becomes very easy to debug such failures, otherwise we are just left with one message that fixture failed..without really telling the reason.





Follow ups

References