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::RegexFilter#matches?
Returns true when the given source file's filename matches the regex configured when initializing this Filter with RegexFilter.new(/someregex/)
Edit
git clone [email protected]:simplecov-ruby/simplecov.git
cd simplecov
open lib/simplecov/filter.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SimpleCov--RegexFilter-matches--for-pr
# Commit to gitgit add lib/simplecov/filter.rbgit commit -m "better docs for SimpleCov::RegexFilter#matches?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SimpleCov--RegexFilter-matches--for-pr
hub pull-request
# Celebrate!