Detecting test method name during TestFixture Setup
"Eric Mangold" <[email protected]> Tue, 26 Aug 2008 01:32:03 -0500
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Is there any way to detect the name of the test method, or get access to it via reflection, from withing the [Setup] method? If there is, I assume the same technique applies equally well to [Teardown]? I have the need to print log messages to standard output showing the start and end of each test. Regards, Eric Mangold ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/