Re: Blog: Four Ways to test Expected Exceptions
"Kelly Anderson" <[email protected]> Wed, 6 Aug 2008 14:03:56 -0600
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 2, 2008 at 10:47 AM, Brad Stiles <[email protected]> wrote: >> Comments? > > After some initial apathy ("skepticism" is really too strong to describe > what I felt), I've pretty much started using the constraint methods > exclusively over the Assert syntax, sometimes even changing old test > code when I need to change what it's testing. It just makes my code so > much easier to read and parse. One other developer on my team, for whom > "skepticism" wasn't strong *enough*, has also switched after really > looking at the resulting test code, and output. :) Hi Brad, My initial feelings about constraint methods was openly hostile, even in out here in public. I have also come to the conclusion now that they are a good thing. It DOES take some getting used to for sure. :-) -Kelly ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/