Is there a way to have PR diff code coverage report working with Azure DevOps? #586
-
I am reading from Microsoft doc here: https://learn.microsoft.com/en-us/azure/devops/pipelines/test/codecoverage-for-pullrequests?view=azure-devops Cannot make it work. Not sure if ReportGenerator can produce such a report with DevOps |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can archive something similar, but it also requires some setup. Then you could generate e.g. one of the following reports: Then you could publish the resulting file as a build artifact. |
Beta Was this translation helpful? Give feedback.
You can archive something similar, but it also requires some setup.
To make coverage history available to ReportGenerator, you can use the following setup:
https://github.com/danielpalme/ReportGenerator/wiki/Integration#history
Then you could generate e.g. one of the following reports:
Then you could publish the resulting file as a build artifact.