One of the questions I've often received about Gallio has been about whether it would integrate with MSTest and Visual Studio Team System.
Gallio running MSTest tests in Icarus
Julian did the work of writing a Gallio adapter plugin for MSTest tests. Gallio explores MSTest tests using reflection and runs them by shelling out to MSTest.exe and parsing the test result XML file.
Here's a screenshot of the Gallio Icarus GUI running some MSTest tests.
Gallio running MSTest tests in ReSharper
Of course, you can use any Gallio test runner to run MSTest tests. That means you automatically get ReSharper integration too! (And in all of the other runners too.)
MSTest running Gallio tests in Visual Studio
Another common request has been to provide integration so that Visual Studio Team Test can run Gallio tests in the IDE and using the MSTest.exe command-line.
This particular request was echoed to me a couple of times at ALT.Net from people who, for good or ill, have been instructed by management to use the Team System test runner instead of TestDriven.Net or ReSharper. So I decided to give it a shot.
Gallio Alpha 3 now includes an experimental package for Visual Studio to do just that. (It also works on the command-line).
6 comments:
Is it possible to use integration with Resharpen 4.0?
I've tried the plugin, but couldn't get it to work with 775; if it works, which version of r# does it work with?
It only works with ReSharper 3.1 currently.
Support for 4.0 is forthcoming.
Very interesting stuff, we are one of the teams using Team System test runner so this looks very useful.
Does the Team System test runner correctly expand and show results for MbUnit [TestSuite] tests?
I am running VS 2008. I have many Unit Tests projects, that I would like to run with Gallio Icarus. Do I need to be running VS Team Test? Or, is there a new plug-in or assembly that I need to install to get my existing unit tests to run? ALso, I would like to run ordered tests that were created with VS 2008 Unit test. Is there way to do this with Icarus?
I am working with Visual Studio 2008, MSTest. When I try to run my test application, I get a exception in Icarus: Exception has been thrown by the target of an invocation.
Does anyone know why this happens?
Post a Comment