nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01379
Re: [Bug 677007] Re: TestFixtureSetup does not show stacktrace when it fails.
The message on each test case is intended only as a reference to the
error, which occured at the fixture level. You should look at the test
fixture containing the cases for the full info.
Places to examine for this information:
1) The XML output for the parent fixture.
2) The console output if you are running nunit-console.
3) The Gui errors tab if you are running nunit.exe
4) The test Properties if you are running nunit.exe
Depending on where it does or doesn't appear, the nature
of the bug changes.
Charlie
On Mon, Nov 22, 2010 at 2:41 AM, Apurv Anand <677007@xxxxxxxxxxxxxxxxxx> wrote:
> 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.
>
--
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.
References