Unit tests are essntial to ensure the code we develop is working as intended. Running the unit tests Azure pipelines is really helpful to not to miss the unit test failures. However, to give afurther assuarance we need to check the coverage of code with unit tests in our projects. Let's look at steps required to obtain a code unit tests coverage report in Azure piplines in cobertura format.
The expected outcome
The coverage here shows the first library, all code lines (100%) are covered with tests and the the other library has only 22.2% code coverage.