berkmancenter/namae

View on GitHub
.simplecov

Summary

Maintainability
Test Coverage
require 'simplecov-lcov'

SimpleCov::Formatter::LcovFormatter.config do |c|
  c.output_directory = 'coverage'
  c.lcov_file_name = 'lcov.info'
  c.report_with_single_file = true
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::LcovFormatter
])

SimpleCov.start do
  add_filter 'spec/'
  add_filter 'features/'

  enable_coverage :branch
end