Am I Running Under NUnit?
"Ron Gross" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
How can I implement a function AmIRunningUnderNUnit() ? I have a logger, and I want to Log only if I'm running under NUnit. This is a suggested solution: http://geekswithblogs.net/ajohns/archive/2004/08/05/9389.aspx But it doesn't work if the test spawns different threads and the function is called from there. Thanks, Ron ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users