We already have:

Assert.Throws<FooException>(() => blah);

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, October 13, 2008 8:08 AM
To: MbUnit.User
Subject: MbUnit Exceptions and the AAA syntax


I'm wondering if there's any possibility to combine testing exceptions with
the AAA syntax.

Currently I'm testing exceptions like this:
try { //some action}
catch {//asserts related to the exception}

However, switching to the AAA idea requires putting the "some action"
portion into setup. Looks like it requires some additional attributes.
Is it possible (with v.2 or 3), or are there any plans to implement it?

I would really like to contribute, but I'd need at least a hint as to where
to start..

Thanks

ulu


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to