7

I'm trying to send a detailed email containing information about all failed unit tests in a pipeline and said email must be sent to the developer who wrote the unit tests.

Currently, I have a Visual Studio Test task in my build pipeline which executes my tests and sends an email on failure which provides at least some information.

However:
a) I would like the email to be be send to the developer who wrote the tests.
b) Email should contains all the details of the tests that failed (such as can be seen in the "Tests" tab of a completed build).
The automatic email does not provide all the details I want and mentioned above

Derptastic
  • 491
  • 1
  • 6
  • 18
Touqeer
  • 73
  • 1
  • 5

1 Answers1

4

Azure Devops does not support that feature. You may add your request here: Azure DevOps (formerly Visual Studio Team Services).

As workaround and if you have coding experience, you can try to analyze test runs with Rest Api (Results - Get) and send email (Sending E-mail using C#).

Shamrai Aleksander
  • 13,096
  • 3
  • 24
  • 31
  • 1
    As a quick clarification for @Touqeer - Azure DevOps does not support exporting tests results and reports, but you _can_ send customized emails if you want to. So the feature you'd like to request is to have access to the test report as file dump. – Derptastic Apr 04 '19 at 09:20
  • I got it. I appreciate your response, now officially I come to the point that there is no such thing for which I was looking for. So I don't need to spend more for searching for this solution. – Touqeer Apr 04 '19 at 09:43
  • yeah; just give up. Much better :) – Christian Feb 03 '21 at 12:37