1

I have an automation test project written by C# and Selenium. I just want to try having it run by MSTest on a remote server so that I can integrate it with my CI server and have it run after every new change submits. I am not using TFS and I don't want to install VS on server, due to big memory consumption. Just wonder whether there is a way to get MSTest working by copying all MSTest related file to server instead of installing VS.

I have tried a few solutions on google. None of them works. Probably they are setups for VS2012 or below but I tried against VS2013 and VS2015. And the error message is "exception has been thrown by the target of an invocation". Don't know if it is the problem of my project or missing file for MSTest.

Any help is appreciated!

mc99000
  • 23
  • 4

1 Answers1

0

Not that I know of. I've tried following steps from others just as you mentioned you tried and none of them worked. I always ended up installing the test framework.

Stringfellow
  • 2,788
  • 2
  • 21
  • 36
  • What do you mean by installing the test framework? Do you mean install visual studio? I am using Visual Studio Unit Testing Framework. – mc99000 Apr 07 '16 at 15:48
  • There is no reliable way to avoid installing binaries from Visual Studio. The following links give links for agent downloads to install. http://stackoverflow.com/questions/3402899/can-i-use-mstest-exe-without-installing-visual-studio – Stringfellow Apr 07 '16 at 17:40
  • Yeah. I have checked out this link before. The agent still requires a fair amount of disk space. I was hesitated to install it so I came here to see if there is any better solution. Now I may just go ahead and install it. Thanks for your help! – mc99000 Apr 07 '16 at 20:04