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

  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.