Visual-studio – How to run Test projects with Visual Studio 2008 Standard Edition

unit testingvisual-studio-2008

I'm currently running Visual Studio 2008 Standard Edition and one of the items they cut out for that edition is the unit testing capability. As a result, when I open up example projects like the MVC commerce test, one of the projects just won't load since it doesn't know to open that type of project.

I know I can just exclude or remove the project and I am aware of TestDriven.NET, but is there a plugin for VS2008 Standard which will do the unit tests that come with VS2008 Pro? Will TestDriven.NET do this or are the tests different enough from NUnit testing that this won't work?

UPDATE: To clarify, I'm curious if there are any programs or plugins out there that can run Test projects within Visual Studio 2008. TestDriven.NET cannot load or run or allow VS2008 to open Test projects and Gallio does not run within the VS2008 IDE (although I appreciate the suggestions greatly)

Best Answer

Try Gallio as explained best in this blog post by Richard Dingwall, and for Visual Studio support, use TestDriven.Net to runs it.

There's some information available in this Google Groups post as well.


From Gallio's website:

At present Gallio can run tests from MbUnit versions 2 and 3, MSTest, NBehave, NUnit, xUnit.Net, and csUnit. Gallio provides tool support and integration with CCNet, MSBuild, NAnt, NCover, Pex, Powershell, Resharper, TestDriven.Net, TypeMock, and Visual Studio Team System.