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.

combine python coverage files?

I'm wondering if it's possible to combine coverage.xml files into 1 file to see global report in HTML output. I've …

python unit-testing code-coverage coverage.py python-coverage
Django test coverage vs code coverage

I've successfully installed and configured django-nose with coverage Problem is that if I just run coverage for ./manage.py shell …

python django unit-testing code-coverage django-nose
How do I tell gcov to ignore un-hittable lines of C++ code?

I'm using gcov to measure coverage in my C++ code. I'd like to get to 100% coverage, but am hampered by …

c++ code-coverage gcov
Using omit flag in Python coverage.py API

I'm using the python coverage.py to create a very basic test suite with coverage. Currently everything works great. However, …

python regex code-coverage coverage.py
Dead code detection in PHP

I have a project with very messy code - lots of duplication and dead code here and there. Some time …

php refactoring code-coverage legacy-code
How do I exclude types and methods from being covered by dotCover in TeamCity?

I've got an existing C# 4 project which I've checked the test coverage for by using TestDriven.Net and the Visual …

c# teamcity code-coverage dotcover
Force Exclude files from PHPUnit Code Coverage

Is it possible to forcefully exclude a folder from PHPUnit's code coverage? Problem I've got is, that I have a …

symfony1 phpunit symfony-1.4 code-coverage
Dozens of "profiling:invalid arc tag" when running code coverage in Xcode 5

When running my Test target with code coverage enabled in Xcode 5, I get dozens of the following message in the …

ios objective-c xcode code-coverage
How to add filters to OpenCover tool to skip some of the classes in a namespace

How can I add filters to skip some of the classes in a namespace/assembly. For example: SYM.UI is …

code-coverage opencover
GCOV: What is the difference between --coverage and --ftest-coverage when building with GCC?

Trying to get code coverage up and running, and I'm just reading documentation first. I found a few articles that …

c++ gcc code-coverage gcov