Skip to content

Allow setting coverage minimum on a per-file or per-code-section level #130

Closed
@rklaehn

Description

@rklaehn

Imagine you have a huge project with low coverage and you want to bring coverage up. It would be useful if you could mark sections of code or files with a coverage minimum. Similar to

// $COVERAGE-OFF$
code
// $COVERAGE-ON$

you could have

// $FULL-COVERAGE-ON$
code
// $FULL-COVERAGE-OFF$

for a section you expect full coverage.

My use for this is that I want to mark sections of code as fully covered and prevent somebody from introducing a coverage reduction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions