Sha256: c5f86a33249a5930e6da85ea6bd867b67fa38d6347ba9e6529e869fa9ebd5dc3

Contents?: true

Size: 986 Bytes

Versions: 6

Compression:

Stored size: 986 Bytes

Contents

# danger-jacoco

**danger-jacoco** is the [Danger](https://github.com/danger/danger) plugin of 
to validate the code coverage of the files changed

## Installation

```
sudo gem install danger-jacoco
```

## Usage

Add 

```ruby
jacoco.minimum_project_coverage_percentage = 50 # default 0
jacoco.minimum_package_coverage_map = { # optional (default is empty)
  'com/package/' => 55,
  'com/package/more/specific/' => 15
}
jacoco.minimum_class_coverage_map = { # optional (default is empty)
  'com/package/more/specific/ClassName' => 15
}
jacoco.minimum_class_coverage_percentage = 75 # default 0
jacoco.files_extension = [".java"] # default [".kt", ".java"]
jacoco.report("path/to/jacoco.xml", "http://jacoco-html-reports/")
```

to your `Dangerfile` 

## 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

6 entries across 6 versions & 2 rubygems

Version Path
danger-jacoco-0.1.9 README.md
danger-jacoco-instacart-0.1.9 README.md
danger-jacoco-0.1.8 README.md
danger-jacoco-0.1.7 README.md
danger-jacoco-0.1.6 README.md
danger-jacoco-0.1.5 README.md