Skip to content

Branch coverage issue with AsyncEnumerable Extension (yield return) #1335

@manuelamateo

Description

@manuelamateo

When testing an AsyncEnumerable extension that transforms an AsyncEnumerable in an nested form of well sized batches, I get a high percentage of uncovered branches. There aren't any obvious branches to cover and I can't figure out how to fix it. It may be a bug.

See reproduction https://github.com/meggima/coverlet-reproductions AsyncEnumerableBatchExtensionReproduction.cs & AsyncEnumerableBatchExtensionReproductionFixture.cs (Version coverlet.msbuild 3.1.2)

Thanks for looking into it.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions