simplecov-formatter-badge

badge formatter for simplecov


Install
gem install simplecov-formatter-badge -v 0.1.0

Documentation

Simplecov Badge Formatter

Installation

Add this line to your application's Gemfile:

gem 'simplecov-formatter-badge', require: false

And then execute:

$ bundle

Usage

require 'simplecov-formatter-badge'
SimpleCov.formatter =
  SimpleCov::Formatter::MultiFormatter.new \
    [SimpleCov::Formatter::HTMLFormatter,
     SimpleCov::Formatter::BadgeFormatter]

then use it from your README

[![coverage](https://path.to.report/coverage.svg)](https://path.to.report/)