JacocoEverywhere icon indicating copy to clipboard operation
JacocoEverywhere copied to clipboard

Is Jacoco execution report in .exec format possible?

Open Narayane opened this issue 7 years ago • 2 comments

Hi,

first of all, thanks for your gradle plugin.

I use SonarQube into a custom CI platform and I wonder if it will be possible your plugin generate a consolidated execution report (ut + it) in .exec format which is now the expected format by this kind of tools (for example .ec format is considered as deprecated by SonarQube).

Regards.

Narayane avatar Aug 09 '16 14:08 Narayane

This plugin relies on underlying jacoco jar embedded into Android Plugin. So essentially Android Plugin is responsible for creating report file (.ec or .exec). I believe you can do some reverse engineering of jacoco.jar to see if it can be reconfigured and use reflection to change it - I did something similar in the past to change default location of report file on device because on some Samsung devices default location was not accessible. But doing that is not really much of fun honestly, so let me know how it goes :)

paveldudka avatar Aug 14 '16 01:08 paveldudka

Ok, thanks for the advise, not sure to have time, we will see :)

Narayane avatar Aug 16 '16 07:08 Narayane