danger-jacoco
danger-jacoco is the Danger plugin of to validate the code coverage of the files changed
Installation
sudo gem install danger-jacoco
Usage
Add
jacoco.minimum_project_coverage_percentage = 50 # default 0
jacoco.minimum_class_coverage_percentage = 75 # default 0
jacoco.files_extension = [".java"] # default [".kt", ".java"]
jacoco.report "path/to/jacoco.xml"
to your Dangerfile
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.