views:

721

answers:

2

If I install Gallio 3.x will I should have test runner plugin for Visual Studio? Cause now I only use Gallio Icarus, but better is to have integration plugin... :(

or I must use TestDriven.NET or Visual Nunit ??

+2  A: 

TestDriven.Net works really well. Gallio also supports the ReSharper unit test runner and Visual Studio test tools. We will be shipping a new release of Gallio this week with support for R# 5.0 and VS 2010.

Jeff Brown
Did Gallio v3.1 Update 2 build 397 - x86 have support for Visual Studio 2010 Beta 2? It's reason why Gallio tests don't work in OUTPUT window in VS 2010RC ? Will it change in new release you mention ?
netmajor
Not having much luck with Icarus in 3.2 RC (build 577). It throws all sorts of exceptions in the UI.(Win7 32 bit) Is there any doc on how the integration with VS2010 actually works? I am using NUnit 2.5.3 but there are no context menus to run the tests etc.
Santosh Benjamin
+2  A: 

Install Gallio 3.1 on the dev machine. Then in VS2008, you'll have the option to create a "MbUnit v3 Test Project". This doesn't just include all of the Gallio dlls for you, it has a magic line in the project which identifies it to VS as a Test project.

You can now just use the in-built VS2008 Test runner.

If you have any existing projects with unit tests in, rather than making new projets, edit your existing project file and add the following line on line 9 (underneath the <ProjectGuid> on line 8):

 <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

Now when you reload the project, VS2008 will recognise it as a test project.

A distinct advantage that I found over using Icarus was that debugging is now far more straight forward with break points being hit as expected.

Good Luck, Lee

Lee Oades