I
Ing. Davide Piras
Hi there,
I use Visual Studio 2005, c# projects...
I like the new unit test framework very much, it helps a lot mantaining and
growing up a project with the test driven paradigm, that's so good!
I'm looking for a way to detect if the program is running under the TEST
enviroment or running normally, let's say I need something like
#if TESTING
do some stuff...
#endif
or, I don't know what else... something that comes from the framework, I
don't want to set the TESTING by myself like DEBUG / TRACE in the compiler
configuration options...
any idea ?
Thanks, Davide.
I use Visual Studio 2005, c# projects...
I like the new unit test framework very much, it helps a lot mantaining and
growing up a project with the test driven paradigm, that's so good!
I'm looking for a way to detect if the program is running under the TEST
enviroment or running normally, let's say I need something like
#if TESTING
do some stuff...
#endif
or, I don't know what else... something that comes from the framework, I
don't want to set the TESTING by myself like DEBUG / TRACE in the compiler
configuration options...
any idea ?
Thanks, Davide.