Re: createDebugCoverageReport to Generate coverage for other modules

26 views
Skip to first unread message
Message has been deleted

Evgeny Mandrikov

unread,
Dec 21, 2018, 4:58:06 PM12/21/18
to JaCoCo and EclEmma Users
http://lmgtfy.com/?q=JaCoCo+Espresso+%22My+project+structure+is+as+follows%3A+%3Aapp%2C+%3Acore.%22

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.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages