0.0
No commit activity in last 3 years
No release in over 3 years
Provide a simple formatter which contains multiple formatters. Similar to the explanation on the SimpleCov README file about using multiple formatters.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

SimpleCov Multi

Provide a simple formatter which contains multiple formatters. Similar to the explanation on the SimpleCov README file about using multiple formatters.

Installation

Add this line to your application's Gemfile:

gem 'simplecov-multi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simplecov-multi

Usage

In your spec_helper, be sure to set the SimpleCov formatter as the Multi wrapper:

require 'simplecov'
require 'simplecov-multi'
multi = SimpleCov::Formatter::MultiFormatter.new
multi << SimpleCov::Formatter::HTMLFormatter.new
multi << SimpleCov::Formatter::SomeOtherFormatter.new
# ... etc
SimpleCov.formatter = multi
SimpleCov.start

Author

This formatter was created by BJ Neilsen. Hopefully it's useful to you.