Capture SimpleCov coverage reports and report these to CC servers for a given commit. Assumes git and SimpleCov are already in use.
Add this line to your application's Gemfile:
gem 'cc_cover_report'
Inside of your rspec helper call the report method. Set tne ENV variable CC_REPO_KEY or pass this as a variable to the report method.
CcCoverReport.report
And then execute:
$ bundle
Or install it yourself as:
$ gem install cc_cover_report
- Fork it ( https://github.com/projectlounge/cc_cover_report/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request