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

add threshold-uncovered option #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guyfedwards
Copy link

allows threshold to be set by number of uncovered lines instead of percentage
of coverage.

In a codebase which continuously grows, if you fix the number of lines uncovered
then you (loosely) enforce that all new code should be covered.

closes #168

image

allows threshold to be set by number of uncovered lines instead of percentage
of coverage.

In a codebase which continuously grows, if you fix the number of lines uncovered
then you (loosely) enforce that all new code should be covered.

closes rpl#168
@mpsq
Copy link

mpsq commented Nov 4, 2018

wow that's nice! 🎉
Any chance that could be merged?

It is super useful when your app has really good coverage, in my case we have:

  • 98% coverage
  • 20k lines

It means someone can push something with ~200 untyped lines and the coverage won't drop. I could use decimals and get more precise with the required coverage but that PR sounds like a better solution

@dholbach
Copy link

@rpl Do you think you can take a look at this? This would be nice to get merged.

@dholbach
Copy link

Bump? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Threshold option for max uncovered line count
3 participants