Quantcast
Channel: opencppcoverage Discussions Rss Feed
Viewing all articles
Browse latest Browse all 235

New Post: Map the test case and the API used in program under code coverage

$
0
0
Hi,
I run the OpenCPPCoverage with following scenario:
The program I run is a Test suite which has say 3 Tests:
  1. TestA
  2. TestB
  3. TestC
This program loads the module DLL for which I want the code coverage. Say the module has a CXX file with 3 APIs:
Source.cxx
  1. FunctA()
  2. FuncB()
  3. FunctC()
The TestA covers the FunctA(), TestB covers the FunctB() and TestC covers all three functions.

How can I generate this mapping of which test covers which API?
i.e.
FunctA : TestA
FunctB : TestB
FunctC : TestA,TestB,TestC

I understand that the OpenCPPCoverage does line coverage. However, is it possible to enhance the OpenCPPCoverage to generate such mapping file? If it is possible, I can think of doing such enhancement.

Viewing all articles
Browse latest Browse all 235

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>