← Back to team overview

nunit-core team mailing list archive

[Bug 611325] Re: Allow Teardown to detect if last test failed

 

** Tags added: framework

-- 
Allow Teardown to detect if last test failed
https://bugs.launchpad.net/bugs/611325
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit Test Framework: Fix Committed
Status in NUnit V2 Test Framework: Fix Released

Bug description:
TearDown method should be able to query a TestContext to get the state of the last test.

See discussion and patch from Kenneth Xu here: 
http://groups.google.com/group/nunit-discuss/browse_thread/thread/783efa88799526eb/201940039539ef57?lnk=gst&q=Can+TearDown+detect+if+the+last+test+failed%3F#201940039539ef57





References