Re: Comparing the various ways to run tests

"Brad Stiles" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
> There are several advantages (but no hard & fast rules) for separating
your 
> unit test code from your application code (if that is indeed what you
are asking):

Unfortunately, it wasn't, but you gave a good synopsis of why I use a
separate assembly to contain the tests, just as you do. :)

When I run NUnit, either the GUI or the console runner, I point it at
the (separate) compiled assembly that contains all my tests.

Some people apparently point it at a Visual Studio project or solution
(which I didn't even realize was an option), while others define an
NUnit project, which presumably points to one or more assemblies that
contain tests.

Having only used the first approach, I was wondering what advantages, or
disadvantages, might lie with the latter two approaches.

Brad



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.