# Pullreview::Coverage

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'pullreview-coverage'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install pullreview-coverage

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it ( http://github.com/<my-github-username>/pullreview-coverage/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

# Pullreview::Coverage

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

```ruby
group :test, :development do
    gem 'pullreview-coverage', require: false
end
```

And then execute:

    $ bundle

## Usage

Adapt your SimpleCov Formatter listing to add the PullReview formatter.
This formatter will post over https the coverage report and a few additional informations.

```ruby
require 'simplecov'
require 'simplecov-rcov'
require 'pullreview/coverage'

formatters = [SimpleCov::Formatter::HTMLFormatter]
formatters << SimpleCov::Formatter::RcovFormatter if ENV['BUILD_ID'] # sample jenkins-ci formatter
formatters << PullReview::Coverage::Formatter

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]

```

## Contributing

1. Fork it ( http://github.com/<my-github-username>/pullreview-coverage/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Update documentation: installation and usage.
Update documentation: installation and usage.
