industrial_training icon indicating copy to clipboard operation
industrial_training copied to clipboard

Suggestion: Add code coverage analysis to unit testing section

Open fkromer opened this issue 7 years ago • 5 comments

I would suggest to add an "how to" section about adding code coverage analysis (e.g. using the code coverage cmake module) to the unit testing section.

fkromer avatar Oct 12 '17 09:10 fkromer

any progress about this?

UniverseHan avatar Jun 17 '20 19:06 UniverseHan

@UniverseHan Nope

fkromer avatar Jun 18 '20 07:06 fkromer

It's not strictly a tutorial, but you can check out @Levi-Armstrong 's branch of the cmake_common_scripts project. He has started curating some commonly used CMake macros (including code coverage) into this project for easier use by other projects. There is an example in the README that shows how to add code coverage to a target

marip8 avatar Jun 18 '20 13:06 marip8

@fkromer Ok, I am happy to contribute to this subject. let me try.

UniverseHan avatar Sep 15 '20 04:09 UniverseHan

@UniverseHan Cool. Thx.

fkromer avatar Sep 21 '20 07:09 fkromer