Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module is missing on coverage #659

Open
dtruong21 opened this issue Jul 25, 2024 · 1 comment
Open

Module is missing on coverage #659

dtruong21 opened this issue Jul 25, 2024 · 1 comment
Assignees
Labels
Question Support request issue type S: in progress Status: implementing or design in process

Comments

@dtruong21
Copy link

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

@dtruong21 dtruong21 added Question Support request issue type S: untriaged Status: issue reported but unprocessed labels Jul 25, 2024
@shanshin
Copy link
Collaborator

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

@shanshin shanshin added S: in progress Status: implementing or design in process and removed S: untriaged Status: issue reported but unprocessed labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Support request issue type S: in progress Status: implementing or design in process
Projects
None yet
Development

No branches or pull requests

2 participants