Re:C++ unit testing with Qt Test, part 2: advanced testing
by user5994461 on Wednesday November 29, 2017 @02:07PM
(#15809775)
The only free thing I found to sort of work is gcov. It's integrated in gcc. Many projects compile on both gcc and msvc.
Compile the unit tests with the coverage flags. Run the exe. Collect the coverage file.
What are the sane choices there? (I've installed OpenCppCoverage two days ago, and so far so good, but wondering about other choices)
https://opencppcoverage.codeplex.com/ https://github.com/OpenCppCoverage/OpenCppCoverage https://github.com/OpenCppCoverage/OpenCppCoveragePlugin