As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
0 answers

Gitlab CI: How to plot test success rate over time?

I have a project with pipelines that upload junit results. For a given branch I want a chart of test success rate over time to know the overall trend of my project. I read the analytics documentation ...
John Doe's user avatar
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 ...
kamilos's user avatar
  • 21
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 ...
Manish_'s user avatar
  • 108
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 ...
Yoiro's user avatar
  • 151
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 ...
Emil's user avatar
  • 181
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 ...
Frank's user avatar
  • 111
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, ...
030's user avatar
  • 13k