visual-studio-2013code-coveragegoogletestgcov

code coverage with visual studio and gtest


Has anyone ever used gtest with visual studio? if so, how did you get code coverage reports? I'd like to configure my project to produce coverage data, but it seems like nobody else uses gtest/visual studio with gcov or any other code coverage.


Solution

  • I asked around the office, and someone suggested this tool: https://github.com/OpenCppCoverage/OpenCppCoverage

    I will give it a try. I will come back and report the results.