Re: NUnit and C#

From: Arne Rasmussen (jumping58_at_hotmail.com)
Date: 08/11/04


Date: Wed, 11 Aug 2004 23:15:50 +0200


"Richard A. Lowe" <chadich@yumspamyumYahoo.com> wrote in message
news:OmRCGQ%23fEHA.3916@TK2MSFTNGP11.phx.gbl...
> Inline.
>

[SNIP]
> > Is NUnit of that much use when you must follow these restrictions?:
> >
> > Methods can't have parameters
> > Methods must be public
> > Methods has to be of type void
>
> The point is that you aren't going to test your library's classes directly
> by marking them as [TestFixture]. You must write test assemblies that
*use*
> your classes, calling their methods with correct (or incorrect if you
write
> a 'must fail' test) values.

Yes of course - that sounds logically - but just to bend it in neon for me -
one has to build a test-class for each of the classes one wish to test ???

Regards
Arne Rasmussen

>
> >
> > How does one integrate the GUI of NUNit into the VS-IDE espacielley in
the
> > debug-environment - i haven't been able to find any docum. of that ??? -
> > anybody who has a reciept of how to do that? - or a link?
> >
> > How are your experinces with NUnit - and is there - in your opinion some
> > other test-unit that is better or easier to use ???
> >
> > With thanx in advantage - and pardon my english
> >
> > Regards
> > Arne Rasmussen
> > Denmark
> >
> >
>
>



Relevant Pages