[Mono-list] you do not need Linux to hack on mono

Martin Baulig martin@widget.gnome.org
Thu, 28 Feb 2002 17:01:40 -0500


On Thu, Feb 28, 2002 at 04:08:52PM -0400, Kevin Winchester wrote:
> 
> Thank you, I'd like to start writing tests then, because the JIT stuff seems
> beyond me (I've never worked with signals in windows before...actually, I've
> never done any windows programming before, that is just my only OS at the
> moment).  I guess my next question is what class libraries need to be
> tested, and how do I go about testing them (NUnit, I'm guessing).

Hi,

well, using NUnit isn't difficult at all.

For a start, look at

	class/corlib/Test/AllTests.cs
	class/corlib/Test/System/*.cs

This should give you an idea how it's done.

To actually run a test, invoke NUnit like this:

	cd class/corlib/Test
	NUnitConsole MonoTests.AllTests,corlib_test.dll

About your second yestion, all our class libraries need tests - so it's probably
best if you just browse over all the classes, find one which you like best and
then look whether there's already a test for it.

If you have any more questions, feel free to ask ....

Martin