Use this tag if a question is about code-coverage, i.e. a percentage of the main code that is covered by the tests
Questions tagged [code-coverage]
6 questions
8
votes
2 answers
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 DevOps.
I have looked at options and there is no…
Emil
- 181
- 3
5
votes
1 answer
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 installed the YAML plugin for it to recognize the…
Yoiro
- 151
- 3
4
votes
1 answer
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, one could use Jacoco and define a minimum code coverage.…
030
- 13,383
- 17
- 76
- 178
2
votes
1 answer
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 that once the tests are successful, I can simply…
Manish_
- 108
- 1
- 1
- 7
1
vote
2 answers
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 here. In our case, one of the apps results in a zip…
Frank
- 111
- 3
1
vote
2 answers
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 Jenkins plugin that can do that? Or python…
Kamil Kapka
- 21
- 4