Can VS2008 Testrunner run MbUnit tests or not?

So, I continue to see how VS2008 has this nice unit test display, and I see how people who test NUnit in it on Dimecasts.net and this article seems to imply that MbUnit v3 must have support for using visual studio test runner. And yet I cannot make him recognize my tests.

Has anyone else been able to get Visual Studio to run their MbUnit tests, and if you need to do something special to set it up?

+4
source share
3 answers

I had to install Gallio 3.0.5 or better http://www.gallio.org . It is automatically installed in Visual Studio Professional or Team Editions. Note. VS Standard does not support test projects. After installing Gallio, you can create MbUnit test projects that should work correctly. I managed to run Xunit.NET tests with this setting (in VS 2008 Professional).

+3
source

It is supported, but you have to modify the project file a bit by adding the correct ProjectTypeGuid so that VSTS recognizes it as a test project:

http://alexduggleby.com/2008/02/19/turning-a-class-library-project-into-a-mstest-project-or-using-mbunit-mstest-and-other-frameworks-in-one- project /

Remember that we are still smoothing out some performance issues with large test projects in VSTS.

+2
source

Try using MbUnit v3 alpha 3 (if you haven’t already) and see if this article helps:

http://weblogs.asp.net/astopford/archive/2008/07/03/mbunit-v3-in-visual-studio-team-system-2008.aspx

+1
source

All Articles