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
A useful note for anyone having trouble with this using Android Gradle Plugin (AGP) 4.1. In order to get any unit test code coverage with JaCoCo you need to testCoverageEnabled false so that AGP's compiled classes for use on device are not used instead of the local instrumented classes.
That explains why I had to programmatically set the testCoverageEnabled to true in my FTL tests and false in my unit tests to generate code coverage properly. See #211
There's an issue tracker here: https://issuetracker.google.com/issues/171125857
They discuss some workarounds, but I'm happy with mine for now. I'll keep this issue open as a reminder to check up on the issue tracker.
The text was updated successfully, but these errors were encountered:
As mentioned in this issue: google/dagger#1982
That explains why I had to programmatically set the
testCoverageEnabled
to true in my FTL tests and false in my unit tests to generate code coverage properly. See #211There's an issue tracker here: https://issuetracker.google.com/issues/171125857
They discuss some workarounds, but I'm happy with mine for now. I'll keep this issue open as a reminder to check up on the issue tracker.
The text was updated successfully, but these errors were encountered: