mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
Use SimpleCov in addition to publishing to Coveralls.io
This commit is contained in:
parent
e5aa68bef2
commit
a573b7aab5
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
|||
require 'rubygems'
|
||||
require 'rspec'
|
||||
require 'singleton'
|
||||
require 'simplecov'
|
||||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
|
||||
# Both local SimpleCov and publish to Coveralls.io
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter
|
||||
]
|
||||
SimpleCov.start
|
||||
|
||||
test_dir = File.dirname(__FILE__)
|
||||
$LOAD_PATH.unshift test_dir unless $LOAD_PATH.include?(test_dir)
|
||||
|
|
Loading…
Reference in a new issue