jacoco-android-gradle-plugin
jacoco-android-gradle-plugin copied to clipboard
Jacoco test report is empty
Use case: code coverage for android library. See: https://github.com/heershingenmosiken/android-assertions repository, branch jacoco-android gradle module android-assertions.
Tests runs well. There are test report. Jacoco runs well, but inside it shows that coverage is empty !
See report: https://codecov.io/gh/heershingenmosiken/android-assertions/branch/jacoco-android See tests passed: https://travis-ci.com/heershingenmosiken/android-assertions/builds/96632553
Actual result: Jacoco report with no coverage inside. Expected result: Jacoco report with code coverage inside.
Hot to test:
- Checkout https://github.com/heershingenmosiken/android-assertions/tree/jacoco-android (branch is important)
- ./gradlew :libAndroidAssertions:jacocoTestReport
- Check test report and jacoco report.
I assume something has broken with latest version of something. Would be helpful if you update sample for app and library with latest tools. (now it is 3 years old)