Let me explain the problem first before asking for a solution. We have Appium automation tests for our iOS app. We believe that every test should start from a clean slate (i.e. app installation) instead of relying a previous test to bring the app to the screen the current test in question is interested in. I am hoping that this approach is correct. We try to generate .gcda file using the approach mentioned here. But the clean state approach seems to create multiple .gcda file for every test. How to merge it in a simpler way than the approach mentioned here (looks like multiple steps - if there are too many .gcda files, we will need multiple steps). We want this coverage through Appium till we add unit tests for legacy code, so we don't feel it is needed to integrate this complicated approach for code coverage via Appium into CI, so doing manually every time we need the coverage, will mean converting all .gcda to LCOV files, which may be time consuming. Hence this question.
Thanks,
Paddy