Skip to content

Flaky coverage result on the same code #1845

@lg2de

Description

@lg2de

Two builds/tests on the same code base can create different coverage status.
Here, I have the two builds on the same commit. One build shows missing overage on a single branch, while the other build has full coverage on that line.
https://coveralls.io/builds/78514666/source?filename=Src%2FAwesomeAssertions%2FCollections%2FGenericCollectionAssertions.cs#L278
https://coveralls.io/builds/78515357/source?filename=Src%2FAwesomeAssertions%2FCollections%2FGenericCollectionAssertions.cs#L278

I'm quite sure that it is not caused by flaky test execution according to my code analysis.
Can you help to investigate the root cause?
How to identify which part of the line is missing coverage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions