Skip to content

Not handling multiple lcov files correctly #481

Description

@zacaj

Due to the amount of tests we have, we have multiple test suites that run separately, each generates its own subfolder under coverage/. Each focuses on certain types of tests or sections of code, but there's some overlap.

In cases where two lcov files contain coverage information about a line, but one says it's covered and one says it isn't, the plugin is sometimes showing it as uncovered. If I delete the lcov file that doesn't cover the line, then the plugin will correctly show it as covered.

Looking at the cache code, I'm assuming the Map keys are overlapping between these lcov files, it's just random which Map key is 'winning'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions