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 --check-coverage shorthand, which fails tests if coverage slips below threshold #126

Merged
merged 1 commit into from
Jan 3, 2016

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Jan 3, 2016

fixes #105, this pull adds a shorthand for checking coverage thresholds. You can now do the following:

nyc --check-coverage --lines=100 tap test/*.js

reviewer: @isaacs

bcoe added a commit that referenced this pull request Jan 3, 2016
add --check-coverage shorthand, which fails tests if coverage slips below threshold
@bcoe bcoe merged commit 972ff3c into master Jan 3, 2016
@bcoe bcoe deleted the check-coverage-combined branch January 3, 2016 01:08
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.

feature request: fail on user-defined minimum coverage level
1 participant