Hello,
OpenCppCoverage does not know anything about the test cases and so it is not possible to do what you want.
If you use gtest, you could write a small script that call YOUR_UNIT_TESTS.exe --gtest_list_tests to get the list of tests.
For each test case, run the following command:
OpenCppCoverage
OpenCppCoverage does not know anything about the test cases and so it is not possible to do what you want.
If you use gtest, you could write a small script that call YOUR_UNIT_TESTS.exe --gtest_list_tests to get the list of tests.
For each test case, run the following command:
OpenCppCoverage.exe --source YOUR_SOURCE_FILTER -- YOUR_UNIT_TESTS.exe --gtest_filter=YOUR_TEST_CASE
I hope this will help,OpenCppCoverage






