danger-xccov_summary
A description of danger-xccov_summary.
Installation
$ gem install danger-xccov_summary
Usage
Simply add xccov_summary
to your Dangerfile
.
xccov_summary.configure('path/to/buildDirectory')
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:
xccov_summary.notify_if_coverage_is_less_than(minimum_coverage: 100.00, options: {:notify_level=>:warn})
Development
- Clone this repo
- Run
bundle install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.