views:

3417

answers:

5

Does MSTest have standalone GUI similar to nUnit that lets me use it and run test without visual studio? What is the official site for MSTest where I can learn more about how to use it?

+6  A: 

It doesn't have a GUI (apart from Visual Studio) but there's a command line tool: MSTest.exe

Here is the official documentation on running MSTest tests.

Alexander Kojevnikov
Actually it is possible. This is exactly what I did for our CI server. I have described the process here - http://www.shunra.com/shunrablog/index.php/2009/04/running-mstest-without-visual-studio/.
mark
+6  A: 

You can do this with mstest.exe, but the trick is in getting it to work without installing visual studio. This involves the copying of several files and registry entries. I have blogged about it here.

Wim Coenen
Nice trick ... the complexity of the process is an argument to write tests in NUnit :)
Precipitous
+2  A: 

Hi. I describe here how to run mstest without VS - http://www.shunra.com/shunrablog/index.php/2009/04/running-mstest-without-visual-studio/

mark
+3  A: 

Use Gallio as your test runner... then its not so much of a drama when you enventually drop MsTest and move to a real test framework.

RhysC
Gallio still requires MSTest to be installed separately. This doesn't solve the problem at hand.
alimbada
um, yes it does. "Does MSTest have standalone GUI similar to nUnit that lets me use it and run test without visual studio?"I run tests without VS all the time with Gallio. The question is with regard to VS, not MsTest. Running test outside of VS is much faster and leads you to be CI practices
RhysC
A: 

Hi!

You can also use this tool from codeplex: http://testrunner.codeplex.com...

Peter Schmitz