forked from forem/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.simplecov
26 lines (24 loc) · 897 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
unless ENV["COVERAGE"] == "false"
SimpleCov.start "rails" do
add_filter "/spec/"
add_filter "/dashboards/"
add_filter "/app/controllers/admin/"
add_filter "/app/controllers/resource_admin/"
add_filter "/app/black_box/"
add_filter "/app/fields/"
add_filter "/app/views/admin/"
# TODO: [thepracticaldev/oss] enable this when we upgrade to SimpleCov 0.18
# enable_coverage :branch
add_group "Decorators", "app/decorators"
add_group "Errors", "app/errors"
add_group "Labor", "app/labor"
add_group "Liquid tags", "app/liquid_tags"
add_group "Policies", "app/policies"
add_group "Queries", "app/queries"
add_group "Sanitizers", "app/sanitizers"
add_group "Serializers", "app/serializers"
add_group "Services", "app/services"
add_group "Uploaders", "app/uploaders"
add_group "View objects", "app/view_objects"
end
end