xcov Logo


Twitter: @carlostify License Gem Gem Downloads

danger-xcov is the Danger plugin of xcov, a friendly visualizer for Xcode's code coverage files.

Installation

sudo gem install danger-xcov

Usage

Simply add xcov.report to your Dangerfile passing those xcov parameters you need. Click here to see the updated list of parameters allowed by xcov.

xcov.report(
   scheme: 'EasyPeasy',
   workspace: 'Example/EasyPeasy.xcworkspace',
   exclude_targets: 'Demo.app',
   minimum_coverage_percentage: 90
)

The result is as cool as follows:

License

This project is licensed under the terms of the MIT license. See the LICENSE file.