Possibility to support diff coverage - Html report
tvbishan opened this issue · 3 comments
Would it be feasible to count coverage for modifications made to the code (including those made or added) instead of the overall code?
Currently, I'm generating Html report and it shows the coverage gets measured for the entire codebase of the project. But, in the context of pull requests, I need to see if the specific lines of code that were added or changed are covered (diff coverage).
I am aware that TextDeltaSummary exists. But is there a way to see the Diff Coverage in the HTML report instead of the Full Coverage?
There is already an option in the summary page, that let's you filter classes where coverage has changed compared to a previous execution.
This feature requires that you are creating history files (you have to use the -historydir:
parameter for that).
See sample report:
https://reportgenerator.io/resources/reports/Html/index.html
I don't plan to create a report which shows the exact changes line by line between two executions.
That's not supported at the moment.