code coverage with visual studio and gtest

9.2k views Asked by At

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.

1

There are 1 answers

2
Jose Villalta On BEST ANSWER

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.