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

Filter by
Sorted by
Tagged with
1
vote
2answers
101 views

How to check minimum code coverage in pull request changes?

I want to force the developers to write unit tests for all new code they wrote. The code is written in python. I want to do it in the Jenkins pipeline. And here is a question. Is there any available ...
2
votes
1answer
202 views

Using Code Climate for Test Coverage alongside Jenkins

My company is currently trying to implement Code Climate for test coverage. However, I do not have much idea about it and new to using code climate. I tried to integrate code climate with Jenkins so ...
4
votes
1answer
523 views

Is there any way of getting code coverage with molecule?

I'm currently working on testing Ansible roles with Molecule. I have one role with 2 scenarios that are executed in Jenkins but just before that, those are submitted to a SonarQube analysis. So I ...
5
votes
2answers
577 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 ...
1
vote
2answers
54 views

Code coverage versus functional coverage

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 with this. But there seems to be something lacking ...
4
votes
1answer
799 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, ...