Sha256: 05fd03011229139d36158500a9d96c9158dc804001e8518fff288c32ff2b1cdc

Contents?: true

Size: 829 Bytes

Versions: 2

Compression:

Stored size: 829 Bytes

Contents

# danger-xccov_summary

A description of danger-xccov_summary.

## Installation

    $ gem install danger-xccov_summary

## Usage

Simply add `xccov_summary` to your `Dangerfile`.

```ruby
xccov_summary.configure("/path/to/directory/with/action.xccovreport")
xccov_summary.show_coverage
```
And it will look like:

To make sure the PR has a minimum amount of coverage call the method. Passing `fail` for `notify_level` will fail the build if coverage doesn't meet the minimum: 
```ruby
xccov_summary.notify_if_coverage_is_less_than(minimum_coverage: 100.00, options: {:notify_level=>:warn})
```

## Development

1. Clone this repo
2. Run `bundle install` to setup dependencies.
3. Run `bundle exec rake spec` to run the tests.
4. Use `bundle exec guard` to automatically have tests run as you make changes.
5. Make your changes.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danger-xccov_summary-0.0.10 README.md
danger-xccov_summary-0.0.9 README.md