simplecov
https://github.com/simplecov-ruby/simplecov
Ruby
Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
SimpleCov::Configuration#minimum_coverage
Defines the minimum overall coverage required for the testsuite to pass. SimpleCov will return non-zero if the current coverage is below this threshold. Default is 0% (disabled)
Edit
git clone [email protected]:simplecov-ruby/simplecov.git
cd simplecov
open sig/simplecov.rbs
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SimpleCov--Configuration-minimum_coverage-for-pr
# Commit to gitgit add sig/simplecov.rbsgit commit -m "better docs for SimpleCov::Configuration#minimum_coverage"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SimpleCov--Configuration-minimum_coverage-for-pr
hub pull-request
# Celebrate!