I like to use JaCoCo inside of Android Studio 4.2 RC1 instead of the default configured IntelliJ IDEA code coverage option. Therefore, I changed the relevant option in the run configuration:
In my debug build type I have testCoverageEnabled true configured (if needed at all?).
Once I run the "Run test with coverage" button in the IDE then the following failure shows up:
Task :app:testDebugUnitTest FAILED FAILURE: Build failed with an exception.
- Where: Initialization script '/tmp/ijresolvers.gradle' line: 152
- What went wrong: Execution failed for task ':app:testDebugUnitTest'.
Related
- IntelliJ IDEA code coverage documentation
- The Developers' Bakery - #09 - JaCoCo with Evgeny Mandrikov
- JaCoCo with IntelliJ
- How can i run Jacoco in android studio for code coverage
- Jacoco Code Coverage in android studio
- YouTrack IDEA-252731: JaCoCo coverage runner fails with Kotlin multi-platform project
from How to run JaCoCo in Android Studio for test coverage?

No comments:
Post a Comment