Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News MbUnit RC2 Now Available

MbUnit RC2 Now Available


MBUnit, an advanced unit testing framework, has reached Release Candidate 2 stage. This "generative" unit test framework claims to offer features that surpass both nUnit and Visual Studio Team System.

The original write-up, posted back in February of 2004, didn't seem all that impressive. It came with some built-in support for types of tests such as enumerations and the promise of a superior framework.

Two and a half years later, that promise is nearly fulfilled. One especially promising feature is the RowTest attribute. Instead of writing a separate test for each set of inputs, developers can use attributes to specify sets of values.  Developers can even specify invalid values along with expected exceptions.  Another promising feature is the ability to wrap tests in COM+ transactions via the RollBack attribute.

One glaring issue is the lack of good online documentation. The documentation is sparse and incomplete with many of the images missing. Often the entries are links to other web sites, and in at least one instance a Google cache of an old blog posting.

While MBUnit currently lacks the polish professional developers have come to expect, it is definitely one to watch.


Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • TestNG has @DataProvider

    by Alex Popescu,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    TestNG Java test framework has had advanced support for parameters for quite a long time. You can define some static values using the suite definition, but you can also create them dynamically using @DataProvider annotated methods. Here is a quick example:

    @DataProvider(name = "myDataProvider")
    public Object[][] createData(Method m) {
    return new Object[][] {
    new Object[] { "Alex" },
    new Object[] { "Cedric" },

    @Test(dataProvider = "myDataProvider")
    public void test1(String name) {
    // test

    .w( the_mindstorm )p.
    TestNG co-founder
    EclipseTestNG Creator

    PS: yes, I know I may be biased :-).

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p