Hi, how can the test coverage be measured in a kot...
# multiplatform
r
Hi, how can the test coverage be measured in a kotlin multiplatform shared module for all module components (commonMain, iosMain, androidMain)? Jacoco does not support kotlin multiplatform from what I read.
t
You can’t, essentially. Kotlin Native has some low level coverage support, but this only works on the macOS target.
👍 1
but if most of your code is in common, you can measure the coverage through jvm or android.
👍 1
r
Okay great thanks very much for your answer Tijl. So I know that there are no tools at the moment which solves that problem of measuring code coverage for a kotlin multiplatform shared module for all targets 🙂.
t
r
Great documentation thanks a lot for this 👍