I’m pleased to say that MbUnit v3 Alpha 1 has been released. This is our first release and contains some really cool concepts, however don’t rush and migrate all of your unit tests just yet. If you want to know more about what we have planned in the future take a look at our Roadmap.
Within Alpha 1, there are a few core features which I want to pick out.
Gallio Lcarus
As we are building on top of the Gallio Automation Platform, we take advantage of their UI.
Gallio has the ability to execute MbUnit v2.4, MbUnit v3, NUnit and XUnit tests all within the same user interface. In this screenshot we have all four frameworks executing as a single test run.
Over time the GUI will only improve and we have got some great plans going forward. I think its already an improvement over the GUI today.
Gallio Echo
Like with the UI, we also have a new command line. Again, this has the ability to execute tests from the four different frameworks. The command below simply loads in all the test assemblies, and outputs a html report to Reports.
E:Source ControlMbUnitv3buildbin>Gallio.Echo.exe “E:UsersBen HallDesktopGallio Test ResourcesMbUnitGallio.TestResources.MbUnit.dll” “E:UsersBen HallDesktopGallio Test ResourcesMbUnit2Gallio.TestResources.MbUnit2.dll” “E:UsersBen HallDesktopGallio Test ResourcesNUnitGallio.TestResources.NUnit.dll” “E:UsersBen HallDesktopGallio Test ResourcesXUnitGallio.TestResources.Xunit.dll” /rd:”E:UsersBen HallDesktopGallio Test ResourcesReports” /rt:Html
When executing, failing tests are displayed in red.
At the end, you will be shown a summary to the test run.
Reports
Go go with this, Gallio has a new report design. I really like these, think they look much better than previously. The report gives you all the information about the test run, such as assemblies loaded, statistics and summary.
Then it goes into detail on each of the test run, highlighting failures.
This is really useful and provides a great way to keep track of each test run. The new report actually makes it really simply to see what is going on. Notice, that in the above screenshot, we have the xml documentation for the method inline with the test report. Very cool! 🙂
Nice work Jeff and team. I haven’t spoke about what’s new within MbUnit v3. Well its still very early days for the framework itself as Gallio was originally MbUnit v3 until decided to release it as a separate framework. As such, the framework hasn’t had some much attention, however from the release notes we have completed the following work:
– Dogfood.
– Initial draft of the attribute extensibility model.
– Supports [Test] and [TestFixture] attributes.
– Assertions ported from MbUnit v2 in the interim.
More information:
Jeff’s post – MbUnit v3 Alpha 1 Release
Andrew’s post – MbUnit v3 and Gallio alpha 1
Download: http://mb-unit.googlecode.com/files/MbUnit%20v3%20Alpha%201%20Setup.exe
Release Notes: http://mb-unit.googlecode.com/files/MbUnit%20v3%20Alpha%201%20Release%20Notes.txt