jacoco-android-gradle-plugin icon indicating copy to clipboard operation
jacoco-android-gradle-plugin copied to clipboard

Gradle plugin that creates JaCoCo test reports for Android unit tests

Results 43 jacoco-android-gradle-plugin issues
Sort by recently updated
recently updated
newest added

Results are different to Android Studio coverage. For example, if I run the built in version with the 'coverage' button for unit tests, my results are 100%, but in the...

First, thank you for your great plugin. Would it be possible to enable some sort of console report? This could then be picked up by CI systems to print the...

I saw [here](https://stackoverflow.com/a/43018683/517193) that we can use `validationRules` with jacoco, but I've tried using it in the plugin without success: ``` android { jacocoAndroidUnitTestReport { violationRules { rule { limit...

Hi I am getting this error while building; java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: java.lang.IllegalArgumentException: No enum constant org.jacoco.agent.rt.internal_e5875b2.core.runtime.AgentOptions.OutputMode.f?le FATAL...

Similar to FindBugs and PMD it would be useful if you could specify the output path for the report like this: ```groovy reports { xml { enabled = true destination...

I've added MVP implementation by Moxy library. Task `:sample-app:jacocoTestFreeDebugUnitTestReport` drops: `Caused by: java.io.FileNotFoundException: /Users/tse/jd/tmp/example-android/sample-app/build/intermediates/classes/free/debug/com/dicedmelon/example/android/MainActivity$PresentersBinder$presenterBinder.class (No such file or directory) at org.apache.tools.ant.types.resources.FileResource.getInputStream(FileResource.java:217) at org.jacoco.ant.ReportTask.createBundle(ReportTask.java:569) at org.jacoco.ant.ReportTask.createReport(ReportTask.java:542) at org.jacoco.ant.ReportTask.execute(ReportTask.java:495) ... 83 more`...

Thanks for the plugin. I have followed your steps and integrate it into my project. I am able to get report by running following command: `$ ./gradlew jacocoTestReport` When I...

Hi, I use jacoco and ScopedArtifacts.Scope.ALL to do some transform work in my project. The gradle tool version is 8.0 My project structure is as follows: app module a module...

When trying to build the project with gradle 8.0, and plugin version `0.1.5`, gradle throws following exception: ``` Caused by: org.codehaus.groovy.runtime.metaclass.MissingMethodExecutionFailed: No signature of method: org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport.enabled() is applicable for argument...

closes: https://github.com/arturdm/jacoco-android-gradle-plugin/issues/102 Updated the `jacocoTestReport` properties from `enabled` to `required` as mentioned by [Gradle documentation for plugin.](https://docs.gradle.org/current/userguide/jacoco_plugin.html#sec:jacoco_report_configuration) I tested the project builds on both Gradle 7.0.2 (current version in master)...