This page last changed on Sep 28, 2006 by ben2004uk.

I'll assume that you already have a solution. First let's create a project to hold some unit test fixtures. For this example we will create a new C# Class Library Project.


After the project has be added we need to add a reference to MbUnit.Framework.dll, which is the MbUnit library.

Now within Visual Studio 2005, the MbUnit assemblies are listed within the Add Refence dialog under the .NET tab.

Now that the MbUnit client classes are available we should add a using statement for the namespace MbUnit.Framework.

That is it. You are ready to go. You have an empty MbUnit testing project. You will next need to provide it with something to test.


Actually there is no separate Core dll with the latest MbUnit builds so if you compiler can't find it...just leave out the reference and 'using' statement.

Posted by marcstober at Sep 17, 2005 16:05

For 2.0 projects, use MbUnit.Framework.dll.  For 1.1 Projects, use MbUnit.Framework.1.1.dll

Posted by ben2004uk at Sep 28, 2006 23:11
Document generated by Confluence on Jun 11, 2007 11:56