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::ResultMerger.merged_result

Gets all SimpleCov::Results from cache, merges them and produces a new
SimpleCov::Result with merged coverage data and the command_name
for the result consisting of a join on all source result's names

Source | Google | Stack overflow

Edit

git clone [email protected]:simplecov-ruby/simplecov.git

cd simplecov

open lib/simplecov/result_merger.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SimpleCov--ResultMerger-merged_result-for-pr


# Commit to git

git add lib/simplecov/result_merger.rbgit commit -m "better docs for SimpleCov::ResultMerger.merged_result"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-SimpleCov--ResultMerger-merged_result-for-pr

hub pull-request


# Celebrate!