How to extend the constraint model with custom constraints
"Simone Busoli" <[email protected]> Thu, 7 Aug 2008 21:39:33 +0200
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
What's the best way of adding a new constraint so that I can use it, preferably before a patch is submitted, applied and a new version is released? I am thinking about extension methods, but the classes Is, Has... expose constraints with static methods. I can create my constraint manually in the second argument of Assert.That, but I would lose the fluency of the syntax. ------------------------------------------------------------------------- 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=/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users