TestCocoon
Open Source
Code Coverage Measurement for C/C++ and C#
Overview
Documentation
Code Coverage
CoverageBrowser
CoverageScanner
FAQ
Appendix
Download
User Forum
License
Documentation
Code Coverage Overview
Code Coverage Overview
Code instrumentation
Detection
Code insertion
Result of coverage analysis
Performance
Statistics
Testing Methodologies
Coverage Hit vs Coverage Count
Testing Strategies
Manual White Box Tests
Manual Black Box Tests
Unit Tests
Automatic Tests
CoverageBrowser
Reference Manual
Introduction
Black box and white box testing
Execution Management Window
Principle
Loading an Execution Report
Test Benefit Analysis Mode
Source Browser Window
Method Browser Window
Source Viewer Window
Source Display
Color Convention
Comments
Editing Comments
Removing Comments
Explanation Window
Statistic Window
Filter
Wildcard Expression
Regular Expression
Pattern matching
String substitution
Code Coverage Level
Code Coverage Algorithm
Optimized Execution Order
Comparing Releases
Reference Database
Coverage analysis of modified/unmodified source code
Instrumentation Database
Merge
Exporting Statistics
Statistics per Source File
Statistics per Method
HTML/XML Report
Preferences
Save/Load Project
Comments
Watermarks
Cache
CoverageScanner
Reference Manual
Introduction
Compiler Support
Supported Compilers
C# compilers
Microsoft
®
Visual C++
Intel
®
C++ Compiler
GNU gcc
IDE Support
GNU Makefile
Scratchbox
Qt
qmake
moc
Visual Studio
Visual Studio .NET C# Compiler
Visual Studio .NET C++ Compiler
Visual Studio Add-In
Visual C++ Express
Visual Studio 6.0
eMbedded Visual C++
Eclipse
Xcode
Command Line
Synopsis
Instrumenting using preprocessor defines
C/C++ Library
__coveragescanner_install
__coveragescanner_testname
__coveragescanner_teststate
__coveragescanner_save
__coveragescanner_clear
__coveragescanner_filename
__coveragescanner_set_custom_io
C# Library
CoverageScanner.__coveragescanner_testname
CoverageScanner.__coveragescanner_teststate
CoverageScanner.__coveragescanner_save
CoverageScanner.__coveragescanner_clear
CoverageScanner.__coveragescanner_filename
CoverageScanner.__coveragescanner_set_custom_io
Controlling the instrumentation during the compilation
C/C++ Pragma
C# regions
Regular Expressions
Code Coverage of Libraries
Code Coverage of Static/Shared Libraries and DLL
Code Coverage of Plugins/Manually Loaded Shared Libraries
Code Coverage of Plugins Generated with Microsoft
®
Visual Studio
®
Code Coverage of Plugins Generated with GNU gcc
Test Suite and
TestCocoon
Execution Name And Status
Unit Testing
Test Framework Support
CppUnit
QTestLib
CxxTest
CoverageScanner Adaptation to a Tool Suite
Frequently Asked Questions
Code Coverage Instrumentation
Does
TestCocoon
support line coverage?
Compiling
Microsoft
®
Visual Studio
®
rebuilds always my project even if it is not modified.
Instrumentation
How to exclude a source file from the code coverage analysis?
My source code contains inline functions, are they instrumented?
Is it normal that the .csmes file contains a copy of the source code?
CoverageBrowser
Performance
Is there a way to minimize the CPU usage?
When I’m exporting the statistics per methods I can only see the 65536 first entries
Miscellaneous
Installation issue:
CoverageBrowser
does not work on my Linux
™
distribution
Installation issue:
PATH
variable wiped after installation
Installation issue:
CoverageBrowser
windows are not redraw correctly
Installation issue: Microsoft
®
Visual Studio
®
2005 & 2008 Add-In is not installed
How to report an issue concerning
CoverageScanner
?
How can I get informed about new releases?
Appendix
Additional Tools
cmreport
cmcsexeimport
cmmerge
Code Coverage Benchmarks
Test Algorithm
Benchmarks
Customizing I/O of
CoverageScanner
library
Custom I/O using C file access
Custom I/O using SFTP protocol