Bug P3
Status Update
Comments
pr...@google.com <pr...@google.com>
gg...@google.com <gg...@google.com>
ae...@google.com <ae...@google.com> #2
Do you have a repro project that you could share with us?
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
Description
I want to use jacoco to get code coverage, and I've read from documentation that jacoco is used when set testCoverageEnabled true in buildType.
However, when instrumenting one of the classes in the task jacoco[Flavor]Debug, it logs error that "Method code too large" , so I want to exclude it when instrumenting.
I have tried to exclude it in testOptions like below:
But this cannot work.
I found from Documentation that only version can be controlled in JacocoOptions, so how can I exclude the class when instrumenting?