-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.simplecov
37 lines (34 loc) · 1.11 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
# frozen_string_literal: true
if ENV["CI"]
SimpleCov.start "rails" do
add_filter "/config/"
add_filter "/db/"
add_filter "/test/"
add_filter "/docs/"
add_filter "/node_modules/"
add_filter "/log/"
add_filter "/public/"
add_filter "/script/"
add_filter "/bin/"
add_group "Cells", "app/cells"
add_group "Controllers", "app/controllers"
add_group "Decorators", "app/decorators"
add_group "Extensions", "app/extensions"
add_group "Forms", "app/forms"
add_group "Helpers", "app/helpers"
add_group "Importers", "app/importers"
add_group "Jobs", "app/jobs"
add_group "Mailers", "app/mailers"
add_group "Models", "app/models"
add_group "Policies", "app/policies"
add_group "Presenters", "app/presenters"
add_group "PubSub", "app/pub_sub"
add_group "Queries", "app/queries"
add_group "Repositories", "app/repositories"
add_group "Serializers", "app/serializers"
add_group "Services", "app/services"
add_group "Views", "app/views"
end
SimpleCov.merge_timeout 1800
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
end