3

I'd like to get MSTests working in TeamCity without having to install visual studio on the build agent. I'm looking to see if anyone has accomplished this or has any insight into how to make it happen.

w.brian
  • 16,296
  • 14
  • 69
  • 118

2 Answers2

4

In case anyone revisits this - they have introduced Visual Studio Agents that includes a standalone version of mstest http://www.microsoft.com/en-us/download/details.aspx?id=1334

steve
  • 778
  • 1
  • 8
  • 18
0

I think MSTest.exe can be run as a standalone process. While it's not ideal, you can try copying the executable out of your VS install, and onto your build server (it can be found in [Install Base]\Microsoft Visual Studio 9.0\Common7\IDE)

I haven't tried this, so keep that in mind. It may take some trial and error to carry over any dependencies that the app may need, but I don't see any reason why you can't get it to work (eventually).

Sean H
  • 736
  • 6
  • 9
  • Doesnt work - there are surprisingly (insanely) many dependencies. See one of the many duplicates of this question. But fair play for declarign you're throwing wild guesses! – Ruben Bartelink Jun 16 '11 at 05:29
  • What a pain. I've only ever used MSTest with Team Build/TFS, and NUnit for any other CI system. So I guess the answer is "use NUnit." :) – Sean H Jun 16 '11 at 14:37