There is no extension point to handle events occuring within the
execution of the test - and setup/teardown are treated as integral to
the test. It seems as if that could be useful. Can you file a 3.0
feature request so we remember?
As a workaround, you may consider putting the code in the teardown
itself, using the result from the TestContext to determine whether a
failure occured.
Charlie
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/nunit-discuss/-/JzjF8fDwhGQJ.
> To post to this group, send email to
nunit-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
nunit-discus...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/nunit-discuss?hl=en.