Top "Code-coverage" questions

"Code coverage" (synonym: test coverage) is a measure of the amount of application source code that has been exercised, usually by some testing regime, often by unit testing.

Detailed guide on using gcov with CMake/CDash?

I'm using CMake with my project and set up a cdash server for continuous/nightly building. Everything works well and …

c++ testing cmake code-coverage cdash
How to view HTML coverage report using Cobertura Maven plugin?

I want to generate and view a coverage report for a Java-Maven project. I've added the following to pom.xml: &…

java maven code-coverage cobertura
Code coverage report using gitlab-ci.yml file

I need to see code coverage report for a java maven project in Gitlab. According to this, this and some …

maven gitlab code-coverage gitlab-ci jacoco
Free NCrunch alternative

Since NCrunch has left the free market, I was looking for a similar tool for code coverage marking, and continous …

c# visual-studio code-coverage ncrunch
JaCoCo with IntelliJ

So this question might not be really specific, but i'm asking it anyway. I'm trying to use JaCoCo with IntelliJ …

java intellij-idea code-coverage jacoco
Unable to run Coverage with Karma

I'm trying to run coverage with karma, and I get the warning: WARN [preprocess]: Can not load "coverage", it is …

javascript code-coverage karma-runner
Unit testing code coverage - do you have 100% coverage?

Do your unit tests constitute 100% code coverage? Yes or no, and why or why not.

unit-testing code-coverage
Using .runsettings to exclude assemblies from code coverage

When running code coverage for my solution which contains multiple projects, I noticed that Code Coverage includes also my test …

.net visual-studio unit-testing code-coverage vs-unit-testing-framework
Clear code coverage information in IntelliJ

I have configured IntelliJ to paint the background of any line that has been executed at runtime to green when …

java intellij-idea code-coverage
How would I add an annotation to exclude a method from a jacoco code coverage report?

I have some code in Java that I want to exclude from code coverage. How would I do this? I …

java gradle junit code-coverage jacoco