Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 712 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 712 Bytes

JacocoAGPTestApp

Run jacocoTestReport task to generate JaCoCo coverage.

There are 2 unit tests (1 junit, 1 instrumentation) in the project, which offers code coverage for the TestClass class and it's 2 methods (one tested per each test type).

Current issues:

  1. Starting with AGP 8.2.0, JaCoCo version configuration does not work. Despite specifying version 0.8.11 in the build.gradle file, 0.8.8 is used when the jacocoTestReport task is run (version info is listed in the bottom right of the HTML file). Version 0.8.11 is reported when running this on master branch. Check out latest-agp branch for working example of this issue. (See https://issuetracker.google.com/issues/298703884)