Thread
#multiplatform
    r

    rb90

    1 year ago
    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

    Tijl

    1 year ago
    You can’t, essentially. Kotlin Native has some low level coverage support, but this only works on the macOS target.
    but if most of your code is in common, you can measure the coverage through jvm or android.
    r

    rb90

    1 year ago
    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 🙂.
    r

    rb90

    1 year ago
    Great documentation thanks a lot for this 👍