Skip to content

localshred/simplecov-multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

SimpleCov Multi Formatter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages