Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marocchino/simplecov-formatter-badge
https://github.com/marocchino/simplecov-formatter-badge
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marocchino/simplecov-formatter-badge
- Owner: marocchino
- License: mit
- Created: 2018-03-28T02:42:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T13:22:00.000Z (over 1 year ago)
- Last Synced: 2024-09-30T09:07:00.524Z (about 1 month ago)
- Language: Ruby
- Size: 13.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simplecov Badge Formatter
## Examples
![red](examples/red.svg)
![yellow](examples/yellow.svg)
![green](examples/green.svg)## Installation
Add this line to your application's Gemfile:
```ruby
gem 'simplecov-formatter-badge', require: false
```And then execute:
$ bundle
## Usage
```ruby
require 'simplecov-formatter-badge'
SimpleCov.formatter =
SimpleCov::Formatter::MultiFormatter.new \
[SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::BadgeFormatter]
```then use it from your README
```md
[![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