Created
December 16, 2017 03:10
-
-
Save megaya/cb33dc88c86b81472d484880162407b0 to your computer and use it in GitHub Desktop.
simplecovとmetric_fuの設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'simplecov' | |
require 'simplecov-rcov' | |
require 'metric_fu/metrics/rcov/simplecov_formatter' | |
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new( | |
[ | |
SimpleCov::Formatter::RcovFormatter, | |
SimpleCov::Formatter::MetricFu, | |
] | |
) | |
# 除外設定 | |
SimpleCov.start do | |
add_filter '/spec/' | |
add_filter '/coverage/' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment