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".

Paolo Tedesco
  • 55,237
  • 33
  • 144
  • 193

2 Answers2

2

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

Community
  • 1
  • 1
Matthew Whited
  • 22,160
  • 4
  • 52
  • 69
1

I don't know is this possible like you describe it.

If you are using Team Foundation Server you can create Report to display status of your latest Continuous integration (or Nightly) build where you can display test results in any way you want.

One example is here: TFS report
(source: edsquared.com)

In this way anybody can access and view these test results via a web browser, Visual Studio, or Team System Web Access (which is again web browser). So users with and without Visual Studio get the same view on the report.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Perica Zivkovic
  • 2,610
  • 24
  • 32
  • 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 Aug 21 '09 at 13:41