Motivation: In my Android Studio App project, I would like to generate a code coverage report in e.g. HTML that shows bars and graphs representing covered tests in my project.
I saw this once realized with JaCoCo tool, what generated a *.html file displaying above described.
But here, I've read that
Gradle already has built-in support for generating test coverage reports and we don't need to create any additional configurations or add any plugins to generate test coverage report. Basically, the only thing we need to do is to set testCoverageEnabled parameter to true in build.gradle file
I don't get it? Does this Gradle built-in support use internally JaCoCo or does Gradle has a standalone code coverage reporting tool that can replace JaCoCo?
It does not work, without applying any jacoco plugins.
testCoverageEnabled = true
to the debug section in my build.gradle.