Quick Notes118 words

Code coverage analysis — quick notes

Code coverage — quick notes

ItemDetail
Publish taskPublishCodeCoverageResults@2
Coverage-format examplesCobertura, JaCoCo; v2 accepts several other formats
Test result formats (different!)JUnit · NUnit · VSTest · xUnit · CTest
Coverage measuresWhich lines executed
Coverage does not establishGood functional verification by itself
Azure Repos PR gateSet a diff target, then require the pipeline's codecoverage status as branch policy

The status is advisory until the branch policy makes it required. Coverage collection happens before publication.

Primary sources

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free