C ++ code coverage tool running on the command line

I use a code coverage tool to write unit tests. I have a tool for code coverage, but I have to do everything using the GUI interface. Ideally, I would like to get a tool that is able to generate text output (best of all .diff) for individual .cpp files. Is there such a tool?

+3
source share
1 answer

gcov can and does output text. Make sure you use the latest gcc to access shared libraries.

I'm not sure how you can have diff output coverage, though?

+4
source

All Articles