Re: Assume

"Kelly Anderson" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
On Fri, Feb 15, 2008 at 3:08 PM, Daniel M. Pomerantz
<[email protected]> wrote:
> See the
>  "
>
>  //Do some stuff here
>  "

Ah, just so.

>  That's the code outside of the try.  Nothing should go after the catch
>  though.

Agreed.

I still probably wouldn't do this most of the time myself, but if you
need the flexibility, you can always do things yourself. The common
case behavior should be easy, and in the case of Assume.That... or
whatever we call it... I think the default should be for NUnit to
silently catch that the precondition was not met, and move on.

-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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.