Hi, I don't know where to ask about Kotlin-kover. ...
# code-coverage
k
Hi, I don't know where to ask about Kotlin-kover. Is there any channel for kover ?
a
I think you can ask here
k
Is kover support code coverage for Android jetpack compose?
p
Last time I checked (six months or so ago) I could use Kover in the test module but not in the androidTest module and definitely not for Compose. And my fingers are crossed that someone soon responds that Kover works with on-device testing (androidTest) but I’m not holding my breath while waiting.
k
Is there any plan for this quarter or this year ?
p
My considered opinion is that we are talking years, not months. And I think we will see Compose code coverage in non-android projects before the AOSP gets to it.
c
@KotlinLeaner, I think you asked this question already: Kover is just a wrapper around jacoco or IDEA Test coverage. Compose is mainly compiler generated code and no code coverage tool so far is capable to hook into generated code and check the coverage of the code you actually write.
k
Yes, I might be ask before as well. Thanks for explanation in the message. I'll remember for future not to ask same question.
k
Thanks 👍