[Mono-list] Need feedback on NUnit testcase

Miguel de Icaza miguel@ximian.com
07 May 2002 11:34:00 -0400


> Do I need to test all the overloaded methods in I.E.
> Convert.ToBoolean()? If not, what should I focus on.

Ideally, yes.  The idea is to make sure that our implementation does
what it advertises it does.  Sometimes a change on the code will have
side effects, and this will help catch those side effects right away,
rather than a few weeks or months down the line when it will be harder
to debug.

So you want to put as many different test cases as possible.

Miguel