mbUnit support in ReSharper
January 3rd, 2007 by dstennettCommunity member Albert Weinert has created a plug-in that adds mbUnit support to ReSharper’s UnitTest Runner. You can download Albert’s creation directly from here:
http://der-albert.com/archives/93-MbUnit-Support-fuer-ReSharper.html
If you’re not familiar with mbUnit, please see:
http://www.mertner.com/confluence/display/MbUnit/Overview
“MbUnit is an extensible .NET Test Framework. As in NUnit, tests are created at runtime using Reflection and custom attributes. MbUnit differentiates itself from NUnit in its extensibility model. It contains a number of tests that go beyond simple unit testing, such as a greater assert range, pairwise testing, combinatorial testing, data oriented testing, etc…” (from mbUnit homepage)
If you get a chance, try downloading it and testing it out for Albert, and give him some feedback!
David Stennett
Team JetBrains
January 5th, 2007 at 10:44 am
An Update is available
http://der-albert.com/archives/95-Update-zum-MbUnit-PlugIn-fuer-ReSharper.html
January 6th, 2007 at 8:59 am
This is great! Thanks to Albert and to JetBrains for the Open API!
Two questions:
1) Will JetBrains support Albert in implementing support for RowTests? This is our favorite MbUnit feature.
2) Does ReSharper have a command/shortcut to re-execute the last test or set of tests that you ran? This would be a really handy feature in terms of workflow.
January 11th, 2007 at 5:35 pm
@Luke: I’m fighting hard, but it seems that full support will be made in R# 3.0. But you can run a single the RowTest-Method from the Test Runner Gui (but currently all rows are tested).
January 13th, 2007 at 1:14 am
Could jetbrains allow more than one test type to be allowed in one assembly? That would really help, I think, so that we could use both nunit and mbunit in one assembly. This does not seem to be possible today.
January 15th, 2007 at 4:33 pm
Marcus Widerberg:
This is definetly not possible, and such restriction is one of the key predicates of ReSharper’ testing subsystem
January 15th, 2007 at 4:46 pm
Marcus,
As Eugene correctly pointed out we currently don’t have such ability. However we’re looking into possibility of redesigning our unit testing support and we will take this request into consideration when doing this. If we can incorporate this without much issue, we see no reason why this shouldn’t be supported.
WBR, Oleg
May 24th, 2007 at 10:27 am
Any instructions as to how to install this? None that I can find on this site and none on Albert’s page.. or at least none that I can understand!!
May 24th, 2007 at 12:21 pm
Dirc …
Hmmm, did you download the .zip yet? There is a README.txt inside … with instructions for installation.
May 31st, 2007 at 8:56 pm
Does this work in Resharper 3.0?
June 28th, 2007 at 4:16 pm
does this work in v3?, and does Jetbrains have plans for native mbunit support?, the thing from “der-albert” looks quite old?
And where is the docs for R# and how to set up unit-testing? (or an simple blogpost explaining the stuff)
June 29th, 2007 at 1:38 am
I was informed that MbUnit is not supported in 3.0 and that it is not known if it will be, since it was external contribution…
August 17th, 2007 at 11:06 am
I would buy Resharper if it had MbUnit support…
August 24th, 2007 at 5:57 am
A new update for ReSharper 3.0.1 has been released
http://der-albert.com/archive/2007/07/07/mbunit-plugin-alpha-for-resharper-301.aspx
August 27th, 2007 at 4:14 pm
MbUnit’s main website is now http://www.mbunit.com - not the mertner site listed above…
The newly updated website (August 14, 2007) has vastly improved content and a huge documentation section.