Hey People - I just read the Program of Kotlin 202...
# code-coverage
m
Hey People - I just read the Program of Kotlin 2021 Premier Online Event. However I stumbled over Kover. Since I currently develop a Coverage Plugin for Multiplatform (currently it's working for Android and JVM and iOS is on it's way)...I am of course super curious about, which cases Kover will cover and if I can spare my time and move on to another topic. Can anybody leak some information in this regard?
THANK YOU!!!!!!!!!!!! I will take a lot right away!
c
Yes! I've been wanting that for a year or so now
t
anyone try it yet?
c
Last time I checked it didn't have a README, I don't think it's ready yet. There's a conference scheduled about it for the next Kotlin events though, so I'm waiting for that to know.
m
Not yet...but it looks like from the code it is JVM only at the moment...but I will try later to confirm that...
t
if I look at the gradle plugin code it’s not so hard to figure it out, but it seems to be missing some crucials things indeed (multiplatform and reports for the jetbrains coverage runner)
c
The conference is in a month or so, right? I'm waiting until then
same 1
a
same here -- I have a functioning jacoco setup in my KMP project that runs on my jvm
Test
tasks and aggregates the results will wait and see if/when it makes sense to move over to kover based on what gets announced in the event
same 1
c
My projects heavily feature JS, so it'll probably be worth it for me, if it's Multiplatform
a
Yeah, I'd love it if it exposed coverage info for non-JVM targets in multiplatform projects, but right now it looks like it's just JVM: https://github.com/Kotlin/kotlinx-kover/blob/main/src/main/kotlin/kotlinx/kover/adapters/KotlinMultiplatformPluginAdapter.kt#L22
c
I guess. A month ago, the repo was empty, so we'll see what they add until then.
true story 1
p
Is there a sample app? Also, does it work on KMM modules?
c

https://www.youtube.com/watch?v=jNu5LY9HIbw

👍 1
k
Is there a Maven plugin or just a Gradle one?