Kotlin/kotlinx-kover

Module is missing on coverage

dtruong21 opened this issue · 1 comments

Hi, I'm using Kover for my company project. It's worked well until the last feature integration. For some reason, the coverage of the module is not showing up when I run the merge coverage. If I run separately the module, it's worked well.
The structure of my project looks like this:

- app
- feature_A
- feature_B
- common

When I said merge coverage it's mean in build.gradle.kts in app module

    implementation(project(":common"))
    implementation(project(":feature_A"))
    implementation(project(":feature_B"))
    kover(project(":common"))
    kover(project(":feature_A"))
    kover(project(":feature_B"))

For some reasons, the feature B is missing on the coverage.

Can you help me on this configuration, please?
Thanks

Hi,
could you please clarify the Kover version? Is the error repeated with older versions?
When generating a new report, is it taken from the cache or is it generated anew?

Without a reproducer project, it is difficult to pinpoint the reason, since specifying kover(project(":feature_B")) and calling the :app:koverHtmlReport (or for specific build variant, e.g.:app:koverHtmlReportDebug) task is enough