Can I use Jacoco to generate reports for Android SDK library files?

23 views
Skip to first unread message

youd...@gmail.com

unread,
Aug 26, 2015, 9:01:42 AM8/26/15
to JaCoCo and EclEmma Users
Hi, everyone!

Jacoco works well at generating reports for application files. But is it possible to get reports for system-level libraries?

I am trying to achieve this by using jacoco+gradle+espresso in offline mode. After I have instrumented certain class files in android.jar (android-sdk-linux/platforms/android-21), the execution data are not collected during tests. There is no problem for me to get data for other application-level files, as long as I instrument them before they are turned into .dex files.

What is preventing the collection of system-level library execution data? Or is there any other way I can achieve this goal.

Thanks!

Di

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