简体   繁体   English

使用TFS API在MTM测试用例失败时发送电子邮件通知

[英]Use TFS API to send the email notification on MTM test case failure

I want to trigger the email notification to certain group of people whenever any test case in MTM fails. 每当MTM中的任何测试用例失败时,我都想触发向特定人群的电子邮件通知。

how to write TFS API to achieve the same? 如何编写实现相同的TFS API? is there any solution already available. 有没有可用的解决方案?

Appreciate your help. 感谢您的帮助。

When a Test Case failed your Tester should create a Bug with the details of the test failure. 当测试用例失败时,测试人员应创建一个包含测试失败详细信息的Bug。 You can then have an alert on the creation and update of Bugs. 然后,您可以对错误的创建和更新发出警报。

If it is an automated test as part of a build you can email the tester on build failure so they can create a bug. 如果它是作为构建的一部分进行的自动化测试,则可以向构建者发送有关构建失败的电子邮件,以便他们创建错误。

If it is an automated test as part of Release Management you can get RM to email the validator (could be the tester) to create the bugs. 如果它是发布管理中的自动化测试,则可以让RM通过电子邮件发送给验证者(可以是测试者)来创建错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM