Low commit activity in last 3 years
No release in over a year
badge formatter for simplecov
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Simplecov Badge Formatter

Examples

red yellow green

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/)

Why not ...

  • simplecov-badge: not pretty
  • simplecov-formatter-shield: bug & not fix it
  • simplecov-shields-badge: do not want commit coverage