Sadly nothing I tried worked out :( 2016-08-11 13:04 GMT+02:00 <[email protected]>:
> Hi Martin, > > Did you find a solution? > > > On Monday, February 15, 2016 at 11:42:14 AM UTC+3, Martin Breuer wrote: > > Thanks for the fast response. > > > > > > I talk about the jacoco plugin which is bundled in Gradle: > https://docs.gradle.org/current/userguide/jacoco_plugin.html > > > > > > When I run my jacoco coverage, each device (in my case up to 14) are > used to run the tests on. > > Whenever a device is done, the plugin pulls the coverage.ec file from > the device and stores in it my build/outputs/code-coverage/coverage.ec > file. > > If another device is done, it does the same but overwrites the > previously pulled file. > > That means that only the last of 14 devices is used to create the > coverage report. > > > > > > Something that could help me is a way to give the coverage.ec a unique > name so that they don't overwrite each other. Is that somehow possible? > > > > > > I now I might have to ask at some gradle support community as well, but > I just want to make sure that I didn't miss some configuration on the > jacoco part. > > > > On Monday, February 15, 2016 at 9:29:35 AM UTC+1, Marc R. Hoffmann > wrote:Hi, > > > > > > > > what "jacoco plugin" do you refer to? We provide Ant task and and Maven > > > > goal for merging: > > > > > > > > http://eclemma.org/jacoco/trunk/doc/ant.html#merge > > > > http://eclemma.org/jacoco/trunk/doc/merge-mojo.html > > > > > > > > Alternatively you might simply concatenate exec files. The report > > > > generator will the consider probes from all sessions. > > > > > > > > Regards, > > > > -marc > > > > > > > > On 15.02.16 09:25, [email protected] wrote: > > > > > Hi, > > > > > > > > > > I have a device farm where I run my tests on. Everything works but the > code coverage differs nearly every time because only the last coverage > report from a device is used. Based on the Android version on the device, > the coverage might differ. > > > > > > > > > > I read about jacoco merge but all I can find are "multi project" > samples but no sample where I could see how I could merge the coverage.ec > files the jacoco plugin downloads from the devices. > > > > > > > > > > Any idea? > > > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "JaCoCo and EclEmma Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jacoco/vwb-FpdBTe8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jacoco/4890c6eb-50a0-4da0-92fe-ab947f2c87a6%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAD%3DW6tURnEgexEQyy1%2BAXJujVqaurP2%3D6FfJ_VD3To0CFkTuNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
