# danger-simplecov_json Report your Ruby app test suite code coverage in [Danger](https://github.com/danger/danger). Before using this plugin, you need to setup your project to use [SimpleCov](https://github.com/colszowka/simplecov) to get code coverage information and [simplecov-json](https://github.com/vicentllongo/simplecov-json) to format it as JSON. ## How does it look?
1 Message
:book: Code coverage is now at 99.15% (1512/1525 lines)
## Installation Add this line to your Gemfile: ```ruby gem 'danger-simplecov_json' ``` ## Usage Just add this line to your `Dangerfile`: ```ruby simplecov.report 'coverage/coverage.json' ``` You can also make the message not [sticky](http://danger.systems/reference.html): ```ruby simplecov.report('coverage/coverage.json', sticky: false) ``` ## License MIT ## 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.