-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fail if coverage under threshold #65
Labels
Comments
Sounds like a cute feature, definitely. Do you think you might be able to provide a PR for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many coverage tools will "fail" if below a configured threshold. This allows my build system to ensure nobody adds new code without also adding unit tests.
What would you think about adding this feature to deep-cover? When the final
"Overall: 2.61%" is less than "2.00%", for example, where 2.00 was on the command line or config file, then the return code would be non-zero.
Awesome coverage tool, keep up the great work!
-Damien
The text was updated successfully, but these errors were encountered: