coverlet icon indicating copy to clipboard operation
coverlet copied to clipboard

Branch coverage issue with AsyncEnumerable Extension (yield return)

Open manuelamateo opened this issue 3 years ago • 2 comments

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

manuelamateo avatar May 13 '22 06:05 manuelamateo

Thanks for reporting this

MarcoRossignoli avatar May 24 '22 06:05 MarcoRossignoli