Re: Fwd: Fwd: Assume
"Vaughn, Clifton" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <C1A113F58C449C43AD6FB79FCEF64CDA06818756@dsp62mail.na.bestbuy.com> |
I've read one paper, but I don't recall it explaining great detail about the Assume.That. I was still left with the question of how the runner would indicate that the data didn't meet an assumption when you expected it to. Maybe I'm still missing something though. Thanks cliff -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kelly Anderson Sent: Friday, February 15, 2008 3:14 PM To: [email protected] Subject: Re: [nunit-developer] Fwd: Fwd: Assume On Fri, Feb 15, 2008 at 11:29 AM, Vaughn, Clifton <[email protected]> wrote: > I don't think it needs to cause an error, but it should signal that the > data didn't meet the assumptions unless along with the data you included > a flag to signal when an error should be thrown. > > Either a signature like this: > > Check.That(meetsAssumptions, 2+2, Is.EqualTo(data) ) > > Or meetsAssumptions is added as a condition. > > Thanks Cliff, out of curiosity, have you read any of the Theory papers yet? I am curious only as to the context of your comment. -Kelly ------------------------------------------------------------------------ - 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/