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#project_name

Returns the project name - currently assuming the last dirname in
the SimpleCov.root is this.

Source | Google | Stack overflow

Edit

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

cd simplecov

open lib/simplecov/configuration.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SimpleCov--Configuration-project_name-for-pr


# Commit to git

git add lib/simplecov/configuration.rbgit commit -m "better docs for SimpleCov::Configuration#project_name"


# 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--Configuration-project_name-for-pr

hub pull-request


# Celebrate!