I tried running tests via command line, but somehow I couldn't get it to work. Every time I tried to run a test I got an error 'Access is denied'. I also tried running MSTest.exe on its own and still I was getting the same error. I changed the permissions on the .exe to 'Run as administrator', set 'Full Control' to all users as well as changed the 'Compatibility mode' of the .exe to Windows XP but still no luck.
As can be seen above, to be sure that the error was coming from the .exe I tried the following command: C:\WINDOWS\system32>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" /help
and yet again I got the same error - 'Access is denied'.
Running on Windows 8.1, Visual Studio 2010 Ultimate.
I don't know if anyone has ever had a similar issue but I've searched all over Google and I've had no luck whatsoever.