https://kotlinlang.org logo
#code-coverage
Title
# code-coverage
m

Matthias Geisler

09/08/2021, 7:52 PM
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

CLOVIS

09/17/2021, 1:23 PM
Yes! I've been wanting that for a year or so now
t

Tijl

09/20/2021, 7:01 AM
anyone try it yet?
c

CLOVIS

09/20/2021, 7:08 AM
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

Matthias Geisler

09/20/2021, 8:01 AM
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

Tijl

09/20/2021, 8:28 AM
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

CLOVIS

09/28/2021, 5:06 PM
The conference is in a month or so, right? I'm waiting until then
same 1
a

ankushg

09/28/2021, 5:09 PM
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

CLOVIS

09/28/2021, 5:21 PM
My projects heavily feature JS, so it'll probably be worth it for me, if it's Multiplatform
a

ankushg

09/28/2021, 7:51 PM
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

CLOVIS

09/29/2021, 4:46 AM
I guess. A month ago, the repo was empty, so we'll see what they add until then.
true story 1
p

ptsiogas

11/01/2021, 3:56 PM
Is there a sample app? Also, does it work on KMM modules?
c

CLOVIS

11/01/2021, 5:11 PM

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

👍 1
k

Klitos Kyriacou

11/04/2021, 6:37 PM
Is there a Maven plugin or just a Gradle one?
4 Views