You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @mannodermaus, I'm trying to create a jacoco report for instrumented junit 5 tests. With applying the jacoco plugin and enableAndroidTestCoverage = true I can get a report with all classes, but it always reports zero coverage.
Is this supported? If so, how can I configure this correctly?
The text was updated successfully, but these errors were encountered:
I don't have a lot of first-hand experience with Jacoco myself, but certainly there have been many instances in the past where its reporting didn't want to pick up the coverage files properly. The naming of enableAndroidTestCoverage tells me that you want to observe coverage from your instrumentation tests? So far we've only ever dealt with unit tests for this, so it's not unlikely that there are some file paths that aren't correctly reported to Jacoco. Could you share the versions of AGP and android-junit5 that you're employing in your project?
Hey @mannodermaus, I'm trying to create a jacoco report for instrumented junit 5 tests. With applying the
jacoco
plugin andenableAndroidTestCoverage = true
I can get a report with all classes, but it always reports zero coverage.Is this supported? If so, how can I configure this correctly?
The text was updated successfully, but these errors were encountered: