Allow Teardown to detect if last test failed

Bug #611325 reported by Charlie Poole
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
Fix Released
Medium
Charlie Poole
NUnit V2
Fix Released
High
Charlie Poole

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

Changed in nunitv2:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Charlie Poole (charlie.poole)
tags: added: feature
Changed in nunitv2:
milestone: none → 2.5.7
Changed in nunitv2:
status: Triaged → Fix Committed
Changed in nunit-3.0:
status: New → Triaged
importance: Undecided → Medium
Changed in nunitv2:
status: Fix Committed → Fix Released
Changed in nunit-3.0:
assignee: nobody → Charlie Poole (charlie.poole)
status: Triaged → Fix Committed
milestone: none → 2.9.6
tags: added: framework
Changed in nunit-3.0:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.