-
Notifications
You must be signed in to change notification settings - Fork 263
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 --fail-under-line and --fail-under-branch options to return exit status 2/4/6 under a coverage threshold #173
Conversation
Making this |
tox.ini being unix-centric since the inclusion of the C extension, we can do C extension coverage but without validation for now c.f. gcovr/gcovr#173
tox.ini being unix-centric since the inclusion of the C extension, we can do C extension coverage but without validation for now c.f. gcovr/gcovr#173
tox.ini being unix-centric since the inclusion of the C extension, we can do C extension coverage but without validation for now c.f. gcovr/gcovr#173
I like this enhancement very much. Only two things are missing:
Please let me know if you need any help, e.g. with running the test suite. Related PRs:
|
21a6770
to
3cc1f71
Compare
…status 2/4/6 under a threshold
Exit code now depends on which test fails: |
This might be useful to fail tests if coverage is not high enough.