开发者

TeamCity - Configure MSTest Settings to execute a command before the tests

I try to configure the MSTest Settings s开发者_开发技巧section [Step 3 Runner: Visual Studio (sln)]. My particular configuration require to call a set of scripts (TestSetup.cmd) before the tests. Everything works fine in Visual Studio, but I don't know how to call the scripts from TeamCity. I tried to add in the MSTest metadata the .vsmdi file but without success. The script are not executed.

My question is how to call the command from TeamCity in the MSTest Settings section?

Thank you and best regards!

testrunconfig file:

This is a default test run configuration for a local test run. MSTest Settings screen shot TestSetup.cmd

Versions : TeamCity Enterprise 5.1.3 Microsoft Visual Studio Team System 2008 Development Edition

I


Add a build step before the MSTest runner which runs your testsetup.cmd.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜