-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
koverMergedHtmlReport seems to be stuck when switching to JacocoEngine #285
Comments
Doing this is fine (with everything else above the same)
|
Hi, May you try to force the Gradle to cache JaCoCo dependencies? After that, you can repeat using the Kover plugin. |
@shanshin It didn't seem to work, but one "hint" I downgraded to 0.6.0, and when I run the report, I do atually get an error. The error is:
I did try to exclude BuildConfig though using something like:
|
Fixed |
Describe the bug
When running kover in my muiltiplatform + android project, koverMergedHtmlReport step seems to get stuck.
If I use the default Intellij engine, it all works fine! But I have to use jacoco, because another tool that we use only accepts jacoco.
I also tried this in a CI environment with no caches or anything like that, and experienced the same thing.
Errors
This is the problem. I get no error logs in console (even with stacktrace/-d), and I see no error in the kover/ directories. That is why I have no clue how to debug this, except through trial and error.
Expected behavior
It should run the tests and generate a merged report, just as it does when I do not specify an engine.
Reproducer
The project is like this
root/
app/ (android)
core/ (android)
xyz/ (some library, not necessarily android)
domain/ (kotlin multiplatorm)
Main build.gradle
I had to add this to the app/build.gradle.kts in order to exclude certain flavors of tests, because there are about 7 build variants/flavors, and I only want to run tests for one.
Reports
Environment
The text was updated successfully, but these errors were encountered: