Coverlet: Unexpected branches reported for async lambda expression

Created on 9 Oct 2019  路  6Comments  路  Source: coverlet-coverage/coverlet

In PR https://github.com/tonerdo/coverlet/pull/583 we fixed the issue with false line coverage for lambda.
Now we report a correct line coverage, but we've unexpected uncovered branches reported.
We should try to avoid to report compiler generated branches.
Test name Lambda_Issue343

Capture

enhancement tenet-coverage up-for-grabs

Most helpful comment

I agree, should be solved

All 6 comments

For what it's worth, I'm also seeing this on a non-lambda:
coverlet

which works fine if I de-asyncify the code:
fixed

(coverlet.msbuild 2.8.0)

Should be fixed now on master can you try with nightly build https://github.com/tonerdo/coverlet/blob/master/Documentation/ConsumeNightlyBuild.md?

That's okay, I believe you -- I'll just wait 馃憤

cc: @matteoerigozzi

I agree, should be solved

Was this page helpful?
0 / 5 - 0 ratings