We noticed that the example XML file included in the jacoco formatter doesn't include a test case like this. Jacoco formatter reports the following for a case like this when converting XML to JSON when using ./cc-test-reporter format-coverage:
Which then is interpretted on Code Climate frontend as a file with zero coverage, when it possibly should be ignored. When coverage is run locally, Jacoco ignores this file when calculating the overall coverage report (not included).
Any additional insight to this problem would be great.
The team that I work with is using cc-test-reporter on a Java Sprint Boot project. We currently have an Interface (https://github.com/SierraSystems/ntt-data-notification-service/blob/master/src/main/java/com/nttdata/nttdatanotificationservice/service/WebHookService.java)
It generates the following code in a Jacoco XML report:
We noticed that the example XML file included in the jacoco formatter doesn't include a test case like this. Jacoco formatter reports the following for a case like this when converting XML to JSON when using
./cc-test-reporter format-coverage
:Which then is interpretted on Code Climate frontend as a file with zero coverage, when it possibly should be ignored. When coverage is run locally, Jacoco ignores this file when calculating the overall coverage report (not included).
Any additional insight to this problem would be great.