DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

MbUnit vs NUnit
Roy Osherove has illustrated the need to Avoid Multiple Asserts in a test method.  Basically i agree with his points in the said blog post.

I currently need need to test a number of permutations and i want to be disciplined to avoid multiple assertions.  I know that the RowTestAttribute of MbUnit can do this well instead of writing individual tests for the permutation.

I was thinking that since MbUnit has added functionalities to NUnit whether it is better to have it as the testing framework for a continuous build setup.  Any opinions are welcome.

Posted 09-12-2006 2:44 PM by jokiz
Filed under: ,

Comments

jop wrote re: MbUnit vs NUnit
on 09-12-2006 1:14 AM
I would stick with NUnit and not use MbUnit, though I don't have any rational reason why. I do not have any objections to MbUnit, so you can use it if you want to. I guess I'm used to using NUnit. :-). Too bad the additional features provided by MbUnit are not written as extensions to NUnit.
cruizer wrote re: MbUnit vs NUnit
on 09-12-2006 4:59 PM
ako rin maka NUnit :) pero kung may added feature sa mbUnit na kailangan mo, go for it :)
Jay Flowers wrote re: MbUnit vs NUnit
on 09-18-2006 10:53 AM
Have you tryed to write extensions to NUnit. It is a mess. I spent a good amount of time and traded well over ten emails with Charlie Poole in an attempt to create an extension for NUnit. I gave up. MbUnit on the other hand was easy to make extensions for. I required no one help. MbUnit is a Much Better(MB) xUnit framework than NUnit. It can run NUnit tests with out change. To be clear you can take an assembly compiled against NUnit and MbUnit can runn the tests. You can also change the refs and imports to point to MbUnit. I have used MbUnit to run NUnit compiled tests in a build with success. This is why the unit test package for CI Factory uses MbUnit and there is no NUnit package for CI Factory.
jokiz wrote re: MbUnit vs NUnit
on 09-20-2006 6:24 PM

I haven't sir, my needs from a testing framework are simple at the moment.


Copyright DevPinoy 2005-2008