Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
simplecovとmetric_fuの設定
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