Skip to content

Conversation

MarcoRossignoli
Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli commented Oct 8, 2019

contributes to #343

This code fix the issue of "false covered lines/branches" for lambda and async lambda bit complex scenario.

Capture

We've again some issue with unexpected reported branch, but for now is better than nothing.
Other solution I found trim out valid branches so for now I prefer false positive uncovered branch than covered.

cc: @driseley @tonerdo @petli @SteveGilham

@daveMueller take a look if you're interested in the intrumentation part, you can start from test, are debuggable pass true to TestInstrumentationHelper.Run(.,disableRestoreModule and RemoteExecutor.Invoke(...,invokeLocal), if you're in throuble let me know.

}
}

class InstrumentationHelperForDebugging : InstrumentationHelper
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shargon I did this to avoid restore and make instrumentation completely debuggable

@MarcoRossignoli MarcoRossignoli added bug Something isn't working tenet-coverage Issue related to possible incorrect coverage labels Oct 8, 2019
@MarcoRossignoli MarcoRossignoli merged commit f3cce5d into coverlet-coverage:master Oct 9, 2019
@MarcoRossignoli MarcoRossignoli deleted the lambda branch October 9, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tenet-coverage Issue related to possible incorrect coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant