This project is read-only.

Online or real-time coverage information

Jan 22, 2016 at 2:30 PM

Just out of curiosity, do you have any insights if it would be possible to have coverage information while the application is running and not when it ends?

Reason I am asking is to see if I can get something similar like this:

Jan 28, 2016 at 9:53 PM

I think it is possible inside ExecutedAddressManager class. ExecutedAddressManager::MarkAddressAsExecuted is called each time a new line is executed.
To create a report inside this function, you can have a look at ExecutedAddressManager::CreateCoverageData.

Let me know if you need more information,

Feb 2, 2016 at 10:18 AM

I will look into it for sure as soon as I manage to build the complete project :)

Feb 7, 2016 at 1:21 PM

Some information about OpenCppCoverage 0.9.4:
  • Compiled with Visual Studio 2015
  • boost_1_59_0
  • ctemplate-2.2: You need to change some settings in the project and change output type from exe to dll for template_test_util_test.exe.
  • gmock-1.7 (For unit tests)
  • poco-1.4.6p2
  • protobuff-2.6.1
Hope that help,

Marked as answer by OpenCppCoverage on 3/6/2016 at 3:30 AM