Skip to content

Coverlet misreports inline functions coverage #1225

Description

@AlexeyRaga

It looks like Coverlet misses the inline directive on F# functions and reports zero coverage for such functions and methods:

image

In this example above, many of the functions that I test use unwrapHandler but, zero coverage is returned.

Another example:
image

Here we see that valueCurry is used within the same method, but it is still reported as untested.

If I remove inline then it looks like:

image

So, even in my simple case, Coverlet misses 6K+ passes and reports the code as untested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions