[Mono-list] a request for testing.

bucky@phantom.keystreams.com bucky@phantom.keystreams.com
Fri, 8 Feb 2002 13:29:37 -0800 (PST)


For those of you writing NUnit tests, I have a suggestion:

Any Assert... function that you call, such as Assert(<expression), can
also be called as Assert(<descriptive string>, <expression>).  Providing
such a descriptive string can make test results a lot easier to read, and
also helps to provide built-in documentation.

When writing Assert()s, please try to include the string argument.  
Especially if you catch yourself writing a comment just above the Assert -
passing the string arg does just as much for code readability, and even
adds functionality.

Thanks,
David