0

I want to trigger the email notification to certain group of people whenever any test case in MTM fails.

how to write TFS API to achieve the same? is there any solution already available.

Appreciate your help.

Ankit
  • 11
  • 2
  • Clarify the question. You want sample code to create an Alert? – Giulio Vian Oct 29 '14 at 13:54
  • @GiulioVian: yes, whenever the test cases fails , a email notification must be sent to predefined group of people with test case failure reason. – Ankit Oct 30 '14 at 06:20
  • Ankit, my question is (long version). Are you looking for: how to write an MTM plugin, how to manually create a (server side) TFS Alert monitoring Test Result and then the code to create the Alert automatically or what? – Giulio Vian Oct 30 '14 at 07:26
  • @GiulioVian, I am looking for code to monitor TFS test result! – Ankit Oct 30 '14 at 10:44

1 Answers1

0

When a Test Case failed your Tester should create a Bug with the details of the test failure. 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.