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::CommandGuesser.original_run_command

Storage for the original command line call that invoked the test suite.
This has got to be stored as early as possible because i.e. rake and test/unit 2
have a habit of tampering with ARGV, which makes i.e. the automatic distinction
between rails unit/functional/integration tests impossible without this cached
item.

Source | Google | Stack overflow

Edit

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

cd simplecov

open lib/simplecov/command_guesser.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SimpleCov--CommandGuesser-original_run_command-for-pr


# Commit to git

git add lib/simplecov/command_guesser.rbgit commit -m "better docs for SimpleCov::CommandGuesser.original_run_command"


# 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--CommandGuesser-original_run_command-for-pr

hub pull-request


# Celebrate!