views:

59

answers:

2

MS Test is killing me.

It is so slow compared to NUnit. I am stuck with it because I need to be able to get Test Results into TFS easy. (Plus it works better with Pex and I am using that too).

But I would really like it to go faster. Even just a bit faster would be nice.

Has anyone made a test runner for MS Test tests that goes faster than the one embedded in Visual Studio?

A: 

You should be able to integrate NUnit into TFS with some custom build tasks (which some people have done). If you really wanted to get crazy you could transform NUnit test results into .TRX files and import them directly using the MSTEST command line options

Josh
Cool idea, but that project has not been updated for almost a year. (And I would need to do it with TFS 2010) I guess I could roll my own, but I am not sure I would be able to get time for it approved. So I would have to do it on my own time, and I am not sure it is worth that (I have so many other projects that keep me busy in my own dev time).
Vaccano
Even without the custom build tasks, you can always just run an executable as a build step. Plenty of people online have come up with ways to convert NUnit output into .TRX files. At that point you can import them directly into TFS and tie it directly to a build.
Josh
A: 

The Gallio platform provides a test adapter for MSTest. You can then run your tests with any runner supporting Gallio, including built-in runners such as Echo or Icarus, and 3rd party runners such as TD.Net or R#.

The non-GUI test runners are usually slightly faster. Thus you may want to try Echo or the PoSh snap-in.

Yann Trevin