Visual-studio – Can VS2008 Testrunner run MbUnit tests or not

mbunittfsunit testingvisual-studio-2008

Ok, so I keep seeing how VS2008 has this nice unit test display and I can see people running NUnit tests within it on Dimecasts.net and this article seems to imply that MbUnit v3 should have support for using visual studio's test runner. And yet I can't get it to recognize my tests.

Has anyone else been able to get Visual Studio to run their MbUnit tests and if so did you have to do anything special to get it configured?

Best Answer

I had to install Gallio 3.0.5 or better from http://www.gallio.org. It automatically installed in Visual Studio Professional or Team Editions. Note: VS Standard doesn't support test projects. After installing Gallio, you can create MbUnit test projects that should work right. I was able to run Xunit.NET tests with this setup (in VS 2008 Professional).