SimpleCov::Formatter::IdobataFormatter
report your test coverage to idobata.io.
Installation
Add this line to your application's Gemfile:
gem 'simplecov-idobata', require: false
And then execute:
$ bundle
Or install it yourself as:
$ gem install simplecov-idobata
Usage
require 'simplecov/idobata'
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::IdobataFormatter,
]
SimpleCov::Formatter::IdobataFormatter.hook_url = "Your idobata generic webhook endpoint url"
SimpleCov::Formatter::IdobataFormatter.goal = 90
SimpleCov::Formatter::IdobataFormatter.warning = 80
Contributing
- Fork it ( https://github.com/hanachin/simplecov-idobata/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