TestDetails is part of the NUnit 2.6 implementation of
ActionAttributes. When a before or after action is called for a
particular test, the TestDetails for that test are passed to it. The
class is needed because the execution of actions takes place without
any reference to the framework, so it isn't possible to use the
framework test classes.
In NUnit 3.0, all execution takes place within the framework itself,
so we are able to pass a framework ITest reference to the actions.
This makes all info about the test potentially available.
That said, the implementation of ActionAttributes in 3.0 is not yet
complete - we're not even at Beta yet! There is an outstanding issue
that indicates the object passed to before and after actions may not
be correctly populated at the time we pass it. See
https://github.com/nunit/nunit/issues/318
Charlie
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nunit-discus...@googlegroups.com.
> To post to this group, send email to
nunit-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/nunit-discuss.
> For more options, visit
https://groups.google.com/d/optout.