Filter HTML reports to only show coverage results below a certain percentage #662
Replies: 6 comments 1 reply
|
Hi Bryan, there is currently no way to filter classes based on their coverage. Only problem is, that this would not work within Azure DevOps, since JavaScript is blocked here. |
|
This only works outside the Azure DevOps "Code Coverage" tab. Here's a sample report: https://reportgenerator.io/resources/reports/HtmlInline_AzurePipelines/index.html |
|
Good to know about the JavaScript in ADO. |
|
The screenshot indicate that you are not using the latest version 5.3.0. Are you sure that the If not, the report may get regenerated. See this wiki page for details: |







Uh oh!
There was an error while loading. Please reload this page.
Hello,

We use the Report Generator in our Azure DevOps pipeline. The output type is HtmlInline_AzurePipelines. We have a lot of classes we would like to ignore in the report whose coverage is above a certain percentage (90%).
I don't see a simple way to pass params to the Report Generator task to accomplish this. The only way I see is if someone wrote a custom plugin and put a % threshold in the CreateSummaryReport method of the IReportBuilder implementation. Am I correct in this assumption, or did I miss anything.
Thank you!
Bryan
All reactions