• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 8 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Danger plugin to validate the code coverage of the files changed in a pull request

xcov Logo


Twitter: @nakiostudio License Gem Gem Downloads

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

Join me and the amazing Mobile Team at monzo

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:

You can also process the output generated by xcov before posting the markdown report as follows:

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

# Do some custom filtering with the report here

# Post markdown report
xcov.output_report(report)

License

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

More Repositories

1

xcov

Nice code coverage reporting without hassle
Ruby
558
star
2

fastlane-plugin-appicon

Generate required icon sizes and iconset from a master application icon.
Ruby
338
star
3

trainer

Convert xcodebuild plist and xcresult files to JUnit reports
Ruby
248
star
4

fastlane-plugin-s3

fastlane plugin to upload IPA or APK to AWS S3 by @joshdholtz
Ruby
146
star
5

fastlane-plugin-ionic

Integrate your Ionic build into your Fastlane setup
Ruby
87
star
6

fastlane-plugin-clean_testflight_testers

Automatically remove TestFlight testers that are not actually testing your app
Ruby
66
star
7

security

A Ruby library for interacting with the macOS Keychain
Ruby
54
star
8

fastlane-ftp-plugin

Ftp plugin for Fastlane
Ruby
36
star
9

fastlane-plugin-slack_train

Show a nice train for the build progress in fastlane
Ruby
36
star
10

xcresult

Ruby interface for inspecting data and exporting data from Xcode 11 .xcresult files
Ruby
34
star
11

fastlane-plugin-validate_app

Validate your app with altool before uploading to iTunes Connect
Ruby
16
star
12

xcov-core

Command line tool to parse xccoverage files
Objective-C
14
star
13

fastlane-plugin-applivery

fastlane plugin to upload IPA or APK to Applivery.com
Ruby
12
star
14

fastlane-plugin-aws_sns

fastlane plugin for creating AWS SNS platform applications for iOS and Android apps by @joshdholtz
Ruby
12
star
15

fastlane-plugin-carthage_cache

A fastlane plugin that allows to cache Carthage/Build folder in Amazon S3.
Ruby
11
star
16

README

The collaboration and plugin inclusion guidelines for the fastlane Community organization
3
star
17

fastlane-plugin-get_current_swift_version

Get current Xcode toolchain's Swift version
Ruby
1
star