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.

preventing python coverage from including virtual environment site packages

I am new to coverage and ran into a strange problem. My coverage is taking my virtual environment site packages …

python testing virtualenv code-coverage python-coverage
Emma coverage on Enum types

I'm running EclEmma, the Emma plugin for Eclipse, and the coverage report shows only partial coverage for an Enum I've …

java eclipse code-coverage emma
Code coverage for rspec

I am rather new to rails, and I am using rspec to write unit tests, integration tests and functional tests. …

ruby-on-rails unit-testing rspec code-coverage
Merging Integration and Unit test reports with JaCoCo

I am generating failsafe and surefire reports with maven with the JaCoCo plugin, but I can only manage to get …

maven code-coverage jacoco maven-surefire-plugin maven-failsafe-plugin
Cannot redeclare class error when generating PHPUnit code coverage report

Starting a project with Zend Framework 1.10 and Doctrine 2 (Beta1). I am using namespaces in my own library code. When generating …

php zend-framework code-coverage phpunit
gcov: producing .gcda output from shared library?

Is it possible to produce gcov data files (.gcda files) by running an executable linked to a shared library built …

c++ gcc code-coverage automake gcov
Plugin with id 'org.sonarqube' not found

I am trying to implement sonar with gradle for code-coverage measure for my project. we are using gradle-4.0.1 and sonarqube-6.4 . …

spring-boot gradle sonarqube code-coverage jacoco
Generate gcda-files with Xcode5, iOS7 simulator and XCTest

Being inspired by the solution to this question I tried using the same approach with XCTest. I've set 'Generate Test …

ios7 code-coverage xcode5
gcov out of memory / mismatched version?

Just trying to get gcov up and running, getting the following error: $ gcov src/main.c -o build build/main.…

c code-coverage clang gcov
Getting PartCover to work

I want to try PartCover for code coverage. I'm running Visual Studio 2008 Professional with MSTest. The Professional Edition does not …

unit-testing mstest code-coverage partcover