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

Minimum coverage threshold on per-file basis #130

Open
callajd opened this issue Feb 12, 2018 · 0 comments · May be fixed by #304
Open

Minimum coverage threshold on per-file basis #130

callajd opened this issue Feb 12, 2018 · 0 comments · May be fixed by #304

Comments

@callajd
Copy link

callajd commented Feb 12, 2018

We would like to enforce a global minimum threshold in addition to an individual file minimum. Consider the scenario:

As the codebase grows in size, individual files contribute less and less to the global coverage number. An urgent issue is identified and a developer wants to immediately commit a fix. It is tempting to push the fix out without thorough testing. If the fix is concentrated in a small number of new files (for example), they may pass undetected through the global threshold with 0% coverage.

It would be nice if we could configure a minimum threshold on an individual file basis. In our case, this would likely be less strict than the global but something substantially larger than 0.

I can assemble a pull request if other folks are open to this feature.

@vereis vereis linked a pull request Mar 15, 2023 that will close this issue
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 a pull request may close this issue.

1 participant