Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-coverage]

Use this tag if a question is about code-coverage, i.e. a percentage of the main code that is covered by the tests

4
votes
2answers
79 views

How to report Code Coverage metrics across git repositories?

We are using private git repositories in Azure DevOps and I have a requirement to create code coverage report across git repositories. Our build CI/CD pipelines are using both TeamCity & Azure ...
0
votes
0answers
13 views

Jenkins Code Coverage (Cobertura) overview display

I have a Matrix build A which produces a coverage.xml in cobertura format in one of its child builds, A1. I want to see an overview of the code coverage in the Dashboard View that includes build A and ...
0
votes
2answers
39 views

Code coverage versus functional coverage

Hope this question is not to theoretical or open... We are working on a big Java project where we use JUnit tests. Our Jenkins helps us to monitor the code coverage and shows us the progress we make ...
3
votes
1answer
66 views

What Golang function could be used to enforce a minimum code coverage and return an Exit1 if false?

Follow-up to this Q&A. How to ensure that a certain minimal code coverage is reached in Golang? E.g. if the CI runs, the build should fail if the code coverage is less than X percent. In Java, ...