I use IntelliJ with Kotlin and I use JaCoCo to compute tests coverage. In IntelliJ my code is covered, but I don't see the line covered percentage for my Kotlin classes. I can see it only for Java:
On the other hand my Kotlin classes are covered, my code is green or red. Also when I click on Generate Coverage Report ...
in Coverage Window, it generates HTML pages and everything is very well covered.
Could you please tell me why I don't see line covered percentage in my Kotlin classes?
It's a known problem in IDE. Please follow the related issue: https://youtrack.jetbrains.com/issue/KT-10081
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With