-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-tests-ruby.txt
194 lines (125 loc) · 4.57 KB
/
run-tests-ruby.txt
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
Running automated test file(s):
===============================================================================
Running: ../../.github/citools/ruby/ruby-lint-rubycritic
Running RubyCritic
Ruby version:
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
rbenv 1.2.0-11-ge4f61e6
==============================================================================
Running: rubycritic --path .rubycritic --format console --no-browser .
running flay smells
running flog smells
[32m.[0m[32m.[0m
running reek smells
[32m.[0m[32m.[0m
running complexity
[32m.[0m[32m.[0m
running attributes
[32m.[0m[32m.[0m
running churn
[32m.[0m[32m.[0m
running simple_cov
[32m.[0m[32m.[0m
/home/vpayno/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/rubycritic-4.6.1/lib/rubycritic/generators/text/list.rb:13: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/home/vpayno/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/rubycritic-4.6.1/lib/rubycritic/generators/text/list.rb:13: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
Date:
Rating: A
Churn: 0
Complexity: 14.98
Duplication: 0
Smells: 2
* (IrresponsibleModule) Date has no descriptive comment
- leap_test.rb:28
* (IrresponsibleModule) YearTest has no descriptive comment
- leap_test.rb:37
Year:
Rating: A
Churn: 0
Complexity: 8.22
Duplication: 0
Smells: 0
Score: 97.1
real 0m0.656s
user 0m0.515s
sys 0m0.133s
==============================================================================
Exit code: 0
real 0m0.751s
user 0m0.559s
sys 0m0.190s
real 0m0.755s
user 0m0.561s
sys 0m0.193s
===============================================================================
Running: ../../.github/citools/ruby/ruby-lint-formatter
Running Ruby Formatter
Ruby version:
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
rbenv 1.2.0-11-ge4f61e6
==============================================================================
Running: rubocop -a .
Inspecting 2 files
.C
Offenses:
leap_test.rb:28:1: C: Style/Documentation: Missing top-level documentation comment for class Date.
class Date
^^^^^^^^^^
leap_test.rb:37:1: C: Style/Documentation: Missing top-level documentation comment for class YearTest.
class YearTest < Minitest::Test
^^^^^^^^^^^^^^
2 files inspected, 2 offenses detected
real 0m0.920s
user 0m0.790s
sys 0m0.163s
==============================================================================
Exit code: -1
real 0m1.000s
user 0m0.826s
sys 0m0.210s
real 0m1.002s
user 0m0.828s
sys 0m0.210s
===============================================================================
Running: ../../.github/citools/ruby/ruby-test-with-coverage
Running Ruby Tests With Coverage
Ruby version:
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
rbenv 1.2.0-11-ge4f61e6
==============================================================================
Running: rm -rf ./coverage
real 0m0.001s
user 0m0.000s
sys 0m0.001s
==============================================================================
Running: ruby ./leap_test.rb -v
Run options: -v --seed 60749
# Running:
YearTest#test_year_divisible_by_400_leap_year = 0.00 s = .
YearTest#test_year_divisible_by_100_not_divisible_by_400_common_year = 0.00 s = .
YearTest#test_year_divisible_by_200_not_divisible_by_400_common_year = 0.00 s = .
YearTest#test_year_divisible_by_4_not_divisible_by_100_leap_year = 0.00 s = .
YearTest#test_year_not_divisible_by_4_common_year = 0.00 s = .
Finished in 0.001371s, 3647.3880 runs/s, 3647.3880 assertions/s.
5 runs, 5 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for test:exercism to /home/vpayno/git_vpayno/exercism-workspace/ruby/leap/coverage/coverage.xml. 6 / 6 LOC (100.00%) covered
real 0m0.188s
user 0m0.132s
sys 0m0.056s
==============================================================================
Coverage: 100.0%
==============================================================================
Exit code: 0
real 0m0.241s
user 0m0.155s
sys 0m0.090s
real 0m0.243s
user 0m0.156s
sys 0m0.090s
===============================================================================
Running: misspell .
real 0m0.022s
user 0m0.024s
sys 0m0.010s
===============================================================================
/home/vpayno/git_vpayno/exercism-workspace/ruby
===============================================================================