-
Notifications
You must be signed in to change notification settings - Fork 52
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
Gradle test task fails when run test with intellij coverage and kover plugin enabled #7
Comments
In
|
We have the same issue. |
Same here, with 0.5.0-RC2 version.
|
I am facing this issue now. But I got it solved by changing the kotlinx.kover.api.CoverageEngine type from IntelliJ to Jacoco, although I am using IntelliJ |
Similar issue here
and test is taking forever to start (on JDK 17). |
It could be on the Intellij side https://youtrack.jetbrains.com/issue/IDEA-283432 |
For those still with this issue, please see the comment I made here as a workaround. |
Duplicates #267 |
Enable kover plugin in build script.
Try to run any test with coverage. Test should be run via gradle -
Preferences | Build, Execution, Deployment | Build Tools | Gradle | Run tests using Gradle
. Right click on run gutter near a test and selectRun test .. with coverage
Test task is failed with:
Disabling kover-plugin solves the problem. Also with setting
Preferences | Build, Execution, Deployment | Build Tools | Gradle | Run tests using Intellij IDEA
run test with coverage is ok.Reproduced with: 'org.jetbrains.kover-plugin' version '0.4', intellij-coverage-agent-1.0.596.jar, Kotlin JVM Gradle plugin 1.6.0-RC-303, gradle-7.1
The text was updated successfully, but these errors were encountered: