Skip to content

IncludeTestAssembly should default to true #618

@sharwell

Description

@sharwell

I just enabled coverlet on a new repository, and the coverage reports were incomplete. The root cause turned out to be a setting IncludeTestAssembly, which confusingly excluded code from the coverage report even though that code was not part of any of the various exclude properties.

Test code is an essential part of a production code base, and should always be included in coverage collection. It's fine to provide a property so it can be disabled, but the property should default to the value users are expected to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeIssue or PR that represents a breaking change in features or functional.discussionGeneric discussion on somethingfeature-requestNew feature requestquestionThis issue is a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions