Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rklaehn opened this issue Aug 15, 2015 · 2 comments
Closed

Comments

@rklaehn
Copy link

rklaehn commented Aug 15, 2015

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.

@kitbellew
Copy link

@rklaehn would this work: #253

@ckipp01
Copy link
Member

ckipp01 commented Nov 5, 2021

Since we do have finer grain control now for single files etc, I'm going to go ahead and close this. If this ever pops up again we can revisit.

@ckipp01 ckipp01 closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants