[Mono-devel-list] Corlib test cases

Nick Drochak ndrochak at gol.com
Mon Jan 26 04:33:14 EST 2004

|  -----Original Message-----
|  From: mono-devel-list-admin at lists.ximian.com [mailto:mono-devel-list-
|  admin at lists.ximian.com] On Behalf Of yoros at wanadoo.es
|  Sent: Monday, January 26, 2004 7:30 AM
|  To: mono-devel-list at lists.ximian.com
|  Subject: Re: [Mono-devel-list] Corlib test cases
|  I think that unit tests are designed to have only one test for method
|  but we have a lot of ones... (it could be good to use try-catch...
|  dunno).

Yes, I think the idea is to have basically one or two Asserts in the test
method.  We do have many tests methods that contain many Asserts and those
give misleading results when one Assert fails early on in the test.
Probably we should encourage finer grained test methods as new ones are
checked in, but no reason to "fix" the current tests except as needed to
track down bugs.

Nick D.

More information about the Mono-devel-list mailing list