I am trying to figure out how to make TeamCity run my MSTests. I have setup a build step using the following parameters:
Firstly, Ensure the assembly you are trying to test exists at that location.
ie
your relative path: Projects\Metadude..Tests\bin\Debug\Metadude..Test.dll
However I would expect something logged by TC if your file didnt exist. It looks like its running MSTest
without any arguments somehow.
If you are sure the path is correct try it without specifying the .testsettings
file to see what happens. I'm using MSTest succesfully in TC without this (but you may need it). The other thing I'm doing different is I specify the FULL path to MSTest.exe
, ie
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe
instead of their variable '%system.MSTest.10.0%'
I can't recall why I did this but there would have been a good reason (like it didnt work when using their variable)