Re: Fwd: Fwd: Assume
"Bisson-Coulombe, Stephane" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <5C889913FF236E4190093AF280AB4EC4D3D14E61@wwlkfmail1.wonderware.com> |
What if it returns and the test is flagged as "not run" with the reason that was specified by the user. Technically speaking, the "checks" or "assumptions" could throw a specialized type of exception in order to gracefully stop the execution. Stéphane -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Poole Sent: Friday, February 15, 2008 1:21 PM To: [email protected] Subject: Re: [nunit-developer] Fwd: Fwd: Assume Hi Kelly, > > [cliff] How about "Check" > > I could live with that. :-) > > Check.IsTrue(...) > Check.That(...) > > Those work. So you guys are saying that Check.That( 2+2, Is.EqualTo(5) ); and Check.IsTrue( 2+2 == 5 ); would cause a test to return without error? Am I the only one who finds that odd? :-) Charlie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ nunit-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-developer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/