Please understand that the JaCoCo integration for Gradle and Andoid SDK is 
developed by the respective projects itself. For support please contact these 
projects.


> On 3. May 2019, at 09:29, Khorrom Khan <[email protected]> wrote:
> 
> Thank you for your prompt response. I am testing the instrumented .apk using 
> an automated test generation tool which is written in python. For each 
> testcase the tool is generating an .ec file.  Instead of generating multiple 
> .ec files, how can I generate one combined .ec file? Is it possible to add 
> append property in my build.gradle file? 
> 
> task jacocoTestReport(type: JacocoReport) {
>     group = "Reporting"
>     description = "Generate Jacoco coverage reports"
>     reports {
>         xml.enabled = true
>         html.enabled = true
>     }
>     classDirectories = fileTree(
>             dir: './build/intermediates/classes/debug',
>             excludes: ['**/R*.class',
>                        '**/*$InjectAdapter.class',
>                        '**/*$ModuleAdapter.class',
>                        '**/*$ViewInjector*.class'
>             ]
>     )
>     sourceDirectories = files(coverageSourceDirs)
>     executionData = 
> files("$buildDir/outputs/code-coverage/connected/coverage.ec 
> <http://coverage.ec/>")
>     doFirst {
>         new File("$buildDir/intermediates/classes/").eachFileRecurse { file ->
>             if (file.name.contains('$$')) {
>                 file.renameTo(file.path.replace('$$', '$'))
>             }
>         }
>     }
> 
> 
> }
> 
> 
> 
> On Fri, May 3, 2019 at 1:48 AM Marc Hoffmann <[email protected] 
> <mailto:[email protected]>> wrote:
> There is. Look for “merge" tasks/goals in the documentation: 
> https://www.jacoco.org/jacoco/trunk/doc/index.html 
> <https://www.jacoco.org/jacoco/trunk/doc/index.html>
> 
> Also some implementations like the Ant task can directly process multiple 
> exec files as input.
> 
> Regards,
> -marc
> 
> 
> > On 3. May 2019, at 08:24, [email protected] 
> > <mailto:[email protected]> wrote:
> > 
> > Is there any way to get combined code coverage from multiple .ec files. I 
> > saw there is a way to merge multiple .exec files. 
> > 
> > How can I merge .ec files?
> > 
> > Than you!
> > 
> > -- 
> > 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] 
> > <mailto:jacoco%[email protected]>.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/jacoco/123ad3bb-3379-4438-8b59-aa5e9f9eabc6%40googlegroups.com
> >  
> > <https://groups.google.com/d/msgid/jacoco/123ad3bb-3379-4438-8b59-aa5e9f9eabc6%40googlegroups.com>.
> > For more options, visit https://groups.google.com/d/optout 
> > <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] 
> <mailto:jacoco%[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/55724625-310C-4CA9-B0CB-A59B123DFF49%40mountainminds.com
>  
> <https://groups.google.com/d/msgid/jacoco/55724625-310C-4CA9-B0CB-A59B123DFF49%40mountainminds.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/CAJk%2BM704z3UizZdhyScNoZWTWJOGzdA1EkszD6Y289JGpgCwaA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jacoco/CAJk%2BM704z3UizZdhyScNoZWTWJOGzdA1EkszD6Y289JGpgCwaA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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/31BC202F-0E7E-42F0-9E87-C9816873E9C5%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to