0

I am creating a build definition in visual studio 2013. As you know, while creating build definition we can also set the assembly (in "Automated Tests" section) which contains the unit test methods to run. I am able to create the definition till this point. Now, what I want is once the test run is over, I want to call an exe that will parse the Trx file generated as a result of test run and send the run results in an email.

Can anyone have an idea about where I can set the path to the exe and pass some arguments to it while creating build definition? If this cannot be done while creating definition, what else is the other way to achieve it?

Thanks!

4

2 回答 2

1

您的要求涉及多个步骤,特别是如果您想从版本控制中提取工具(恕我直言,这是最好的选择)。有关此主题的帮助和指导,请参阅 ALM Rangers 的Team Foundation 构建自定义指南

于 2014-02-04T14:45:12.747 回答
0

或者,您可以在 TFS 构建完成时设置电子邮件通知。这应该包括测试运行结果,以及一个可点击的链接以转到完整的构建报告。

于 2014-02-04T15:24:59.533 回答