Hi Naresh,
It seems like a slippery slope to start giving the test too much info
about it's context. This may encourage very complex teardowns, which -
I think - would be undesireable.
I would be in favor of making full info about the test to a special
attribute (Action Attribute) to be applied to tests. My reasoning is
that when you are writing an ActionAttribute, you are creating a
simple extension to NUnit itself but when you are writing TearDown
code, you are in the world of the test and are subject to a certain
degree of sandboxing.
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/-/SCjVZ0TF60sJ.
> 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.