Running MStest in the .net build cruise control server

I am trying to configure cruisecontrol.net to work with our existing projects.

The projects use Visual Studio 2008 testing tools (works like .net 2.0).

During the actual build process, I get several error messages, most or which:

The type "TestClass" is not defined.

I assume this is because I do not have a testing platform installed on my build server.

I would prefer not just copying a bit from my dev machine (which always seems a bit hacked), and I would also prefer not to install a visual studio on the build segment (which seems redundant).

Does anyone know where I can install the standalone installer to host these files on my build server?

+6
msbuild mstest
source share
2 answers

MSTest requires Visual Studio. You will need to install it on your build machine (or use a lighter testing platform!)

+4
source share

You can get the MSTest.exe files and their associated libraries in a redistributable image under the heading " Visual Studio Agents ".

Instruction:

  • Download and run setup from disk
  • Run the test agent installer
  • You do not need to install the agent as a service or configure the test agent, because you just want to run it from the command line.
  • Now the MSTest tool will be installed as "C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE", which is the same path as for visual studio.
+8
source share

All Articles