3

I am tying to do unit test using google test. But the gtest doesnt display the code coverage in the console. How can I get the code coverage of my unit test by using gtest?

XHLin
  • 301
  • 1
  • 3
  • 13
  • 3
    To get the code coverage of your unit test you should use appropriate tool which depends what OS/compiler/environment you use. – Gluttton Sep 03 '16 at 07:09
  • 2
    Possible duplicate of [google-test: code coverage](https://stackoverflow.com/questions/2359344/google-test-code-coverage) – Uduse Jul 04 '17 at 15:19

0 Answers0