codecoverage-yaml-samples icon indicating copy to clipboard operation
codecoverage-yaml-samples copied to clipboard

Code coverage target for whole codebase, not just diff

Open rikkiprince opened this issue 6 years ago • 3 comments

Is there a way of setting a target percentage code coverage for the whole codebase, not just for the changed lines in the Pull Request?

The linked documentation article refers to full coverage, but doesn't say how to use it in the azurepipelines-coverage.yml.

rikkiprince avatar Oct 09 '19 19:10 rikkiprince

Is there a solution to this? I am interested in doing this as well.

slee2525FC avatar Dec 09 '20 23:12 slee2525FC

same here

yasarutkuu avatar Feb 19 '21 00:02 yasarutkuu

Any update on the above? I also need it for whole codebase. One issue with this yml setting is, it even considers files which are removed from repo for code coverage and doesnt even consider "ExcludeFromCodeCoverage" attribute.

kriti218 avatar Jun 17 '21 07:06 kriti218