allure-framework/allure-ruby

View on GitHub
.simplecov

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

return unless ENV["COVERAGE"] && !ENV["COV_MERGE"]

SimpleCov.start do
  add_filter ["/spec/", "/tmp/"]
  minimum_coverage 95
  enable_coverage :branch
  formatter ENV["COV_HTML_REPORT"] ? SimpleCov::Formatter::HTMLFormatter : SimpleCov::Formatter::SimpleFormatter
end