News for hackers. Stuff that matters.
Re:C++ unit testing with Qt Test, part 2: advanced testing by malkia on Wednesday November 29, 2017 @12:06PM (#15808494)
Talking about unit testing, what are people using for coverage, and more specifically on Windows + MSVC (Professional, or Community)?

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

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.

Re:C++ unit testing with Qt Test, part 2: advanced testing by malkia on Wednesday November 29, 2017 @03:03PM (#15810335)
Not possible for us yet, or maybe I haven't tried it well enough...