Monday, August 06, 2007 7:50 PM
MbUnit +
NUnitForms =
MbUnitForms
I've ported the popular NUnitForms to the MbUnit testing framework. Let me be clear, I've made no bug fixes or added no features, I've only recompiled it to run against MbUnit. Think of it as an API 'mashup', to still a phrase from the Web 2.0 kiddies
NUnitForms was great, but I ran into two issues with it:
1) I now exclusively use MbUnit for my unit testing and I was being forced to include references to NUnit simply to run NUnitForms. Now I no longer need to reference NUnit, I can simply reference only MbUnit.
2) NUnitForms was compiled to run against NUnit 2.2 specifically which meant that if I was using NUnit, as I was on some previous projects, that I had to either include references to both the current version of NUnit and version 2.2 or simply use version 2.2 for all of my unit tests. MbUnitForms no longer has this limitation. Regardless of the version of MbUnit you are working against, as long as it is equal to or greater than the one that MbUnitForms was compiled against (currently 2.4) your code with execute just fine.
I also want to be clear, this is in no way a reflection on the work of Luke Maxon, the original creator of NUnitForms. Luke has done an amazing job with this framework and he deserves all of the credit for this. I've just simply taken his work and expanded on it.
Also, in keeping with the theme of updating the technologies involved, I've replaced any mocking that was done in the accompanying unit tests using NMock with
Ayende's Rhino.Mocks.
Welcome to open source, the way it's supposed to be.