Skip to content

Coverlet misreports inline functions coverage #1225

Open
@AlexeyRaga

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfsharpF# source code issuestale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions