-
Notifications
You must be signed in to change notification settings - Fork 3
/
.simplecov
26 lines (21 loc) · 853 Bytes
/
.simplecov
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# frozen_string_literal: true
require "simplecov-console"
SimpleCov.start :rails do
project_name "<%= application_name %>"
# add_group "Admin", "app/admin"
# add_group "Channels", "app/channels"
# add_group "Components", "app/components"
# add_group "Decorators", "app/decorators"
# add_group "Policies", "app/policies"
add_group "Services", "app/services"
# add_group "Validators", "app/validators"
add_group "Long files" do |src_file|
src_file.lines.count > 500
end
# minimum_coverage 50
# minimum_coverage_by_file 50
# formatter SimpleCov::Formatter::MultiFormatter.new([
# SimpleCov::Formatter::HTMLFormatter,
# SimpleCov::Formatter::Console
# ])
end