Reputation: 2469
Is it possible to setup TFS/Test Manager so that it sends out an email after a test fails?
Upvotes: 0
Views: 697
Reputation: 3419
Yes, it is possible but it requires quite a lot of changes/additions to the process template and possibly a custom-made activity.
BuildDetail.BuildPhaseStatus
has status failed
BuildDetail.AssociatedChangesets
(you need to have AssociateChangesetsAndWorkItems
on) and get the committer username.BuildReport
action from Community TFS Build Extensions. We modified the xslt, but that's not really necessary. We also wanted to include a listing of the failed tests, and that required modification of the action itself (test data isn't included by default).Looking at this description and all the work made to get this working, I'm beginning to wonder if it was worth it ;).
Upvotes: 3