You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Code Coverage is calculated incorrectly. This happens in reports and verification tasks.
Errors
As you can see in this picture:
Kover thinks that lines 52,53 are not covered with tests, but they are.
And if I move deleteAll up, then this happends.
This starts happening after migrate to Kotlin 2.0.0 and Kover v0.8.3. I have tested it on v0.9.0-RC and it was same.
With Kkotlin = "1.9.23" and Kover = "0.7.6" everything were fine.
Expected behavior
All lines in CacheStoreFactoryTest should be covered.
Describe the bug
Code Coverage is calculated incorrectly. This happens in reports and verification tasks.
Errors
As you can see in this picture:
Kover thinks that lines 52,53 are not covered with tests, but they are.
And if I move deleteAll up, then this happends.
This starts happening after migrate to Kotlin 2.0.0 and Kover v0.8.3. I have tested it on v0.9.0-RC and it was same.
With Kkotlin = "1.9.23" and Kover = "0.7.6" everything were fine.
Expected behavior
All lines in CacheStoreFactoryTest should be covered.
Reproducer
Project is here:
https://github.com/Catah97/KoverCoverageBugs
Module multiplatform/cache.
Run koverHtmlReport gradle task.
Environment
The text was updated successfully, but these errors were encountered: