3

I use code coverage tool for writing unit testing cases. I have a code coverage tool but only have to do everything through its GUI interface. Ideally I'd like to get a tool that is able to produce a text output (.diff is the best) on individual .cpp files. Does such a tool exist?

1 Answers1

4

gcov can and does produce text output. Make sure you use a recent gcc to get coverage of shared libraries.

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

Douglas Leeder
  • 52,368
  • 9
  • 94
  • 137