Which Jacoco Android plugin you're using for test coverage?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/androiddev

Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • jacoco-android-gradle-plugin

    Gradle plugin that creates JaCoCo test reports for Android unit tests

    - arturdm/jacoco-android-gradle-plugin: 0.1.4: released this on Feb 26, 2019.

  • gradle-android-junit-jacoco-plugin

    Gradle plugin that generates JaCoCo reports from an Android Gradle Project

    vanniktech/gradle-android-junit-jacoco-plugin: 0.16.0: released this on Mar 22, 2020.

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • JaCoCo

    :microscope: Java Code Coverage Library

    And there is the original jacoco/jacoco: (0.8.7: released this on May 5, 2021), but it's for Java. I'm not sure if we can use it with multiple flavors on Android.

  • Android-Root-Coverage-Plugin

    A Gradle Plugin for Android developers that automatically configures Jacoco code coverage tasks for both combined and per module coverage reports, easier than ever.

    I know this thread is a bit old, but I try to maintain a plugin just for that: https://github.com/NeoTech-Software/Android-Root-Coverage-Plugin

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts