Merging Android Unit and Instrumented Code Coverage Reports Offline, using JaCoCo

Icons in a software repository’s README file showing build and code coverage status
A GitHub repository’s README file with an example code coverage badge
Example of a JaCoCo report: A file which has been tested (Left), and a file that tests do not touch (Right).

“The 20% you leave uncovered is probably the 20% that needs it the most.”
Daniel Irvine

gradlew jacocoCombinedTestReport

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store