NUnit & Porject Deployment

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi All,

I'm starting a new project and want to separate my NUnit testing stuff
so I can perform testing in the debug version but not have testing
code deployed in the Release build. I vaguely remember seeing an
article on this somewhere but can't find it now. Can anyone point me
to a resource that would explain how to do this? I'm using VS 2005.

Thanks,
Steve
 
Hi All,

I'm starting a new project and want to separate my NUnit testing stuff
so I can perform testing in the debug version but not have testing
code deployed in the Release build. I vaguely remember seeing an
article on this somewhere but can't find it now. Can anyone point me
to a resource that would explain how to do this? I'm using VS 2005.

Thanks,
Steve

I always put the NUnit tests in a seperate assembly, so i have two
projects. If you need to test internally visible members, you can add
the InternalsVisibleTo assembly attribute to the assembly to be tested.
 
Back
Top