Quick Notes91 words
Code coverage analysis — quick notes
Code coverage — quick notes
| Item | Detail |
|---|---|
| Publish task | PublishCodeCoverageResults@2 |
| Coverage formats | Cobertura, JaCoCo |
| Test result formats (different!) | JUnit · NUnit · VSTest · xUnit · CTest |
| Coverage measures | Which lines executed |
| Coverage does not measure | Whether anything was asserted |
| Best gate | Coverage of changed code, not repo-wide percentage |
Trap: high coverage with no assertions catches nothing. Coverage is a signal about untested regions, not a quality score.