views:

126

answers:

2

Is it possible to run an assembly created by a Visual Studio test project outside Visual Studio itself?
I would like to create a test application that should be run also on machines where VS is not installed, and get a (graphical) report of the test outcomes.

EDIT looking at the post provided in the accepted answer, and looking at the answer to that post... I reached the conclusion that the answer to this question is "NUnit".

+2  A: 

Check out MsTest command line. You can either use it or roll your own code as a test harness around the assemblies. But if you want the GUI and to legally use MSTEST you will need a license for Visual Studio on the machine you will run the tests on.

You can use MsTest without VS. but I don't know how "legal" that is so it's at your own risk

Matthew Whited
That's exactly what I would need... but the executable is installed along with the VS test tools, right? So I would still need VS installed on the target machine...
Paolo Tedesco
Thanks for the link to the post, it's exactly what I needed.
Paolo Tedesco
No problem... glad I could help.
Matthew Whited
+1  A: 
Perica Zivkovic
Thanks for your answer, but the purpose is not to allow users without VS installed on their machine to see the results, but to run the test program on a machine without VS installed.
Paolo Tedesco