It's all about the answers!

Ask a question

Modifying MSTest command line in VS build definition

Gil Zilberfeld (1111) | asked Oct 20 '13, 3:29 a.m.
edited Oct 21 '13, 4:19 p.m. by Millard Ellingsworth (2.5k12431)

We have setup our MSTest Visual Studio build definition (in Jazz Build), and tests are running. In order to integrate with Typemock Isolator, we need to run before MSTest a tool called TMockRunner (which is now part of project source control.
So basically, the command line  (in the Path field) we want to run is:
${team.scm.fetchDestination}\IsolatorSimpleTestPOC\IsolatorSimpleTest\AutoDeploy\TMockRunner.exe  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\mstest.exe
That doesn’t work. I need help in doing that. 

The other option, is to run a batch file after the build, but I don’t know how to do that too. Plus we'll need to publish the MSTest results through the command line too. The only options as post build steps in building the build definition are NUnit, MSTest or a Deliver step. Again, it’s probably something we missed, but it’s probably possible.

Can you tell me how to modify the command line?

Gil Zilberfeld
Product Manager

Be the first one to answer this question!

Register or to post your answer.