Is there some reason you need the catch block?  If not, remove the catch 
block and the thrown exception will cause the test to fail.  If you need to 
confirm an exception is thrown, use Assert.Throws.
If you're set on using the catch block, I believe you need Assert.Fail.

On Tuesday, May 21, 2013 8:18:25 PM UTC-4, Brock Fredin wrote:
>
> I'm not seeing my last post.
>
> How do I intentionally fail a test in the catch block?  The Assert.isTrue 
> isn't working.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mbunituser?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to