http://lmgtfy.com/?q=JaCoCo+Espresso+%22My+project+structure+is+as+follows%3A+%3Aapp%2C+%3Acore.%22
https://stackoverflow.com/questions/43057920/generate-coverage-for-other-modules https://www.reddit.com/r/androiddev/comments/61wpmg/question_generating_coverage_for_other_modules/ On Friday, December 21, 2018 at 7:29:39 PM UTC+1, Os wrote: > > My project structure is as follows: :app, :core. :app is the Android > application project, and it depends on my :core aar module, which has all > the business logic. > > I have Espresso tests for :app, and I am able to run and get coverage > report by tasking createDebugCoverageReport. But the coverage is only for > code in :app and I do not see any code executed in :core > > How do I get coverage for all projects (:app and :core) resulting from > my Espressoinstrumentation tests? > > The *.ec file was created in app/build by tasking > createDebugCoverageReport. Does this coverage contains code in :core, and > if not how to trigger that on? > > Please help. Greatly appreciated. > -- 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/96761327-272c-475f-a883-a0be22891930%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
