Skip to content

nskybytskyi/cpp_code_coverage_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Overview

This repository is an example of setting up code coverage for C++ projects.

It uses gcov to generate coverage reports and lcov to visualize them.

Integrations with CMake and GitHub Actions automate report generation.

Finally, the reports are uploaded to report hosting provider Coveralls.

This work is based on an excellent step-by-step tutorial by Daniel Sieger.

I dedicate this work to public domain with no restrictions whatsoever.

Coverage Status