diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-24 21:49:28 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-24 21:49:28 +0900 |
commit | 12d50a8bf6a7c6b4d6653e58dd7bb6c509ae0dcb (patch) | |
tree | 7d3196494f0c695fd9f260e827d8300421ccc2f3 /test/test_helper.rb | |
parent | 3a9e9905ad8f564e2850e449e447a86906b0f00b (diff) | |
download | plum-12d50a8bf6a7c6b4d6653e58dd7bb6c509ae0dcb.tar.gz |
test: use simplecov
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 9e0f16b..fefe965 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,16 @@ -require "coveralls" -Coveralls.wear! +begin + require "coveralls" + require "simplecov" + Coveralls.wear! + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] + SimpleCov.start do + add_filter "test/" + end +rescue LoadError +end require "plum" require "timeout" |