If you just converted the test from NUnit to MbUnit then be sure that you
changed the using directives to use the MbUnit.Framework namespace instead
of nunit.framework.

Also, if you are using TestDriven.Net to run the tests, make sure it is not
using the "adhoc" runner.  If it is, then it indicates that MbUnit test
runner has not been correctly installed.

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Tim Barcz
Sent: Wednesday, June 17, 2009 6:02 AM
To: MbUnit.User
Subject: MbUnit Why Is This Failing


Sheepishly I am giving up on diagnosing this myself.

Why is the following, very simple test failing?


[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void Should_Not_Fail()
{
    throw new ArgumentNullException();
}

The code above fails in MbUnit, passes in NUnit...why?


--~--~---------~--~----~------------~-------~--~----~
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