This page last changed on Jun 30, 2005 by peli.

MbUnit is a UnitTestFramework for the .Net platform written in C#.

CustomAttribute based

In MbUnit, fixture and tests are defined by tagging classes and methods with CustomAttribute. This technique was introduced by NUnit and has been considerably extended by MbUnit.

Extensible

MbUnit has been designed to integrate new fixture types using a plugin architecture, i.e. without any recompilation needed. Therefore, when the simple TestFixture is not enough anymore, you have the liberty to implement your own custom fixture that will automatically fit in the framework. Using that extensibility, MbUnit contains a large number of different fixtures.

Test Execution

Whether you want to automate your tests, or execute them in a GUI, or directly inside VisualStudio using TestDriven.NET, MbUnit provides several efficient solutions for executing the tests inside your assemblies:

  • A (good old) console application,
  • A NAnt task,
  • A MSBuild task,
  • A GUI,
  • Test assemblies can be made self-executable,
  • TestDriven.NET integration

Reporting

Exploring the result is an important task of the tester. Therefore, MbUnit contains a broad range of built-in reporting solutions:

  • XML
  • HTML
  • Text
  • ...

Feature Rich

MbUnit provides more than the basic functionalities of unit testing. It provides a variety of SpecializedAssertClasses, supports FixtureTimeOut, logs test duration, memory consumption, swallows Debug assert dialog, etc...

Satellite projects

MbUnit is bundled with other powerfull libraries: QuickGraph, TestFu and Refly.

Document generated by Confluence on Jun 11, 2007 11:56