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#add_group
Define a group for files. Works similar to add_filter, only that the first argument is the desired group name and files PASSING the filter end up in the group (while filters exclude when the filter is applicable).
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-add_group-for-pr
# Commit to gitgit add sig/simplecov.rbsgit commit -m "better docs for SimpleCov::Configuration#add_group"
# 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-add_group-for-pr
hub pull-request
# Celebrate!