NUnit & Porject Deployment

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
 
A

Andy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top