sorbet-schema 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -0
  3. data/.standard.yml +6 -0
  4. data/.tool-versions +1 -0
  5. data/CHANGELOG.md +24 -0
  6. data/CODE_OF_CONDUCT.md +84 -0
  7. data/Gemfile +25 -0
  8. data/Gemfile.lock +147 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +43 -0
  11. data/Rakefile +22 -0
  12. data/lib/sorbet-schema/hash_transformer.rb +22 -0
  13. data/lib/sorbet-schema/struct_ext.rb +37 -0
  14. data/lib/sorbet-schema/version.rb +5 -0
  15. data/lib/sorbet-schema.rb +27 -0
  16. data/lib/typed/coercion/coercer.rb +18 -0
  17. data/lib/typed/coercion/coercion_error.rb +7 -0
  18. data/lib/typed/coercion/coercion_not_supported_error.rb +7 -0
  19. data/lib/typed/coercion/float_coercer.rb +21 -0
  20. data/lib/typed/coercion/integer_coercer.rb +21 -0
  21. data/lib/typed/coercion/string_coercer.rb +19 -0
  22. data/lib/typed/coercion/struct_coercer.rb +26 -0
  23. data/lib/typed/coercion.rb +26 -0
  24. data/lib/typed/deserialize_error.rb +6 -0
  25. data/lib/typed/field.rb +28 -0
  26. data/lib/typed/hash_serializer.rb +21 -0
  27. data/lib/typed/json_serializer.rb +28 -0
  28. data/lib/typed/parse_error.rb +12 -0
  29. data/lib/typed/schema.rb +10 -0
  30. data/lib/typed/serializer.rb +61 -0
  31. data/lib/typed/validations/field_type_validator.rb +24 -0
  32. data/lib/typed/validations/field_validator.rb +15 -0
  33. data/lib/typed/validations/multiple_validation_error.rb +16 -0
  34. data/lib/typed/validations/required_field_error.rb +14 -0
  35. data/lib/typed/validations/type_mismatch_error.rb +14 -0
  36. data/lib/typed/validations/validated_value.rb +12 -0
  37. data/lib/typed/validations/validation_error.rb +8 -0
  38. data/lib/typed/validations/validation_results.rb +29 -0
  39. data/lib/typed/validations.rb +8 -0
  40. data/sorbet/config +5 -0
  41. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  42. data/sorbet/rbi/gems/.gitattributes +1 -0
  43. data/sorbet/rbi/gems/ansi@1.5.0.rbi +687 -0
  44. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  45. data/sorbet/rbi/gems/builder@3.2.4.rbi +504 -0
  46. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  47. data/sorbet/rbi/gems/io-console@0.7.2.rbi +8 -0
  48. data/sorbet/rbi/gems/json@2.7.1.rbi +1553 -0
  49. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  50. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
  51. data/sorbet/rbi/gems/minitest-focus@1.4.0.rbi +91 -0
  52. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +1010 -0
  53. data/sorbet/rbi/gems/minitest@5.22.2.rbi +2233 -0
  54. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  55. data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
  56. data/sorbet/rbi/gems/parser@3.3.0.5.rbi +5472 -0
  57. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  58. data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
  59. data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
  60. data/sorbet/rbi/gems/racc@1.7.3.rbi +157 -0
  61. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  62. data/sorbet/rbi/gems/rake@13.1.0.rbi +3027 -0
  63. data/sorbet/rbi/gems/rbi@0.1.9.rbi +3006 -0
  64. data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +3771 -0
  65. data/sorbet/rbi/gems/reline@0.4.3.rbi +8 -0
  66. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
  67. data/sorbet/rbi/gems/rubocop-ast@1.31.1.rbi +7014 -0
  68. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
  69. data/sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi +8 -0
  70. data/sorbet/rbi/gems/rubocop@1.61.0.rbi +57499 -0
  71. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  72. data/sorbet/rbi/gems/sorbet-result@1.1.0.rbi +519 -0
  73. data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +34 -0
  74. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  75. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
  76. data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +80 -0
  77. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +52 -0
  78. data/sorbet/rbi/gems/standard@1.34.0.rbi +850 -0
  79. data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
  80. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
  81. data/sorbet/rbi/gems/tapioca@0.12.0.rbi +3499 -0
  82. data/sorbet/rbi/gems/thor@1.3.1.rbi +4351 -0
  83. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  84. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  85. data/sorbet/rbi/gems/yard@0.9.36.rbi +18220 -0
  86. data/sorbet/rbi/gems/zeitwerk@2.6.13.rbi +1003 -0
  87. data/sorbet/tapioca/config.yml +4 -0
  88. data/sorbet/tapioca/require.rb +12 -0
  89. metadata +191 -0
@@ -0,0 +1,1010 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `minitest-reporters` gem.
5
+ # Please instead update this file by running `bin/tapioca gem minitest-reporters`.
6
+
7
+ # source://minitest-reporters//lib/minitest/reporters.rb#3
8
+ module Minitest
9
+ class << self
10
+ # source://minitest/5.22.2/lib/minitest.rb#197
11
+ def __run(reporter, options); end
12
+
13
+ # source://minitest/5.22.2/lib/minitest.rb#97
14
+ def after_run(&block); end
15
+
16
+ # source://minitest/5.22.2/lib/minitest.rb#19
17
+ def allow_fork; end
18
+
19
+ # source://minitest/5.22.2/lib/minitest.rb#19
20
+ def allow_fork=(_arg0); end
21
+
22
+ # source://minitest/5.22.2/lib/minitest.rb#69
23
+ def autorun; end
24
+
25
+ # source://minitest/5.22.2/lib/minitest.rb#19
26
+ def backtrace_filter; end
27
+
28
+ # source://minitest/5.22.2/lib/minitest.rb#19
29
+ def backtrace_filter=(_arg0); end
30
+
31
+ # source://minitest/5.22.2/lib/minitest.rb#18
32
+ def cattr_accessor(name); end
33
+
34
+ # source://minitest/5.22.2/lib/minitest.rb#1146
35
+ def clock_time; end
36
+
37
+ # source://minitest/5.22.2/lib/minitest.rb#177
38
+ def empty_run!(options); end
39
+
40
+ # source://minitest/5.22.2/lib/minitest.rb#19
41
+ def extensions; end
42
+
43
+ # source://minitest/5.22.2/lib/minitest.rb#19
44
+ def extensions=(_arg0); end
45
+
46
+ # source://minitest/5.22.2/lib/minitest.rb#292
47
+ def filter_backtrace(bt); end
48
+
49
+ # source://minitest/5.22.2/lib/minitest.rb#19
50
+ def info_signal; end
51
+
52
+ # source://minitest/5.22.2/lib/minitest.rb#19
53
+ def info_signal=(_arg0); end
54
+
55
+ # source://minitest/5.22.2/lib/minitest.rb#101
56
+ def init_plugins(options); end
57
+
58
+ # source://minitest/5.22.2/lib/minitest.rb#108
59
+ def load_plugins; end
60
+
61
+ # source://minitest/5.22.2/lib/minitest.rb#19
62
+ def parallel_executor; end
63
+
64
+ # source://minitest/5.22.2/lib/minitest.rb#19
65
+ def parallel_executor=(_arg0); end
66
+
67
+ # source://minitest/5.22.2/lib/minitest.rb#210
68
+ def process_args(args = T.unsafe(nil)); end
69
+
70
+ # source://minitest/5.22.2/lib/minitest.rb#19
71
+ def reporter; end
72
+
73
+ # source://minitest/5.22.2/lib/minitest.rb#19
74
+ def reporter=(_arg0); end
75
+
76
+ # source://minitest/5.22.2/lib/minitest.rb#143
77
+ def run(args = T.unsafe(nil)); end
78
+
79
+ # source://minitest/5.22.2/lib/minitest.rb#1137
80
+ def run_one_method(klass, method_name); end
81
+
82
+ # source://minitest/5.22.2/lib/minitest.rb#19
83
+ def seed; end
84
+
85
+ # source://minitest/5.22.2/lib/minitest.rb#19
86
+ def seed=(_arg0); end
87
+ end
88
+ end
89
+
90
+ # Filters backtraces of exceptions that may arise when running tests.
91
+ #
92
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#3
93
+ class Minitest::ExtensibleBacktraceFilter
94
+ # Creates a new backtrace filter.
95
+ #
96
+ # @return [ExtensibleBacktraceFilter] a new instance of ExtensibleBacktraceFilter
97
+ #
98
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#21
99
+ def initialize; end
100
+
101
+ # Adds a filter.
102
+ #
103
+ # @param regex [Regex] the filter
104
+ #
105
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#28
106
+ def add_filter(regex); end
107
+
108
+ # Filters a backtrace.
109
+ #
110
+ # This will add new lines to the new backtrace until a filtered line is
111
+ # encountered. If there were lines added to the new backtrace, it returns
112
+ # those lines. However, if the first line in the backtrace was filtered,
113
+ # resulting in an empty backtrace, it returns all lines that would have
114
+ # been unfiltered. If that in turn does not contain any lines, it returns
115
+ # the original backtrace.
116
+ #
117
+ # @note This logic is based off of Minitest's #filter_backtrace.
118
+ # @param backtrace [Array] the backtrace to filter
119
+ # @return [Array] the filtered backtrace
120
+ #
121
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#52
122
+ def filter(backtrace); end
123
+
124
+ # Determines if the string would be filtered.
125
+ #
126
+ # @param str [String]
127
+ # @return [Boolean]
128
+ #
129
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#36
130
+ def filters?(str); end
131
+
132
+ class << self
133
+ # Returns the default filter.
134
+ #
135
+ # The default filter will filter out all Minitest and minitest-reporters
136
+ # lines.
137
+ #
138
+ # @return [Minitest::ExtensibleBacktraceFilter]
139
+ #
140
+ # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#10
141
+ def default_filter; end
142
+ end
143
+ end
144
+
145
+ # source://minitest-reporters//lib/minitest/relative_position.rb#2
146
+ module Minitest::RelativePosition
147
+ private
148
+
149
+ # source://minitest-reporters//lib/minitest/relative_position.rb#14
150
+ def pad(str, size = T.unsafe(nil)); end
151
+
152
+ # source://minitest-reporters//lib/minitest/relative_position.rb#18
153
+ def pad_mark(str); end
154
+
155
+ # source://minitest-reporters//lib/minitest/relative_position.rb#22
156
+ def pad_test(str); end
157
+
158
+ # source://minitest-reporters//lib/minitest/relative_position.rb#10
159
+ def print_with_info_padding(line); end
160
+ end
161
+
162
+ # source://minitest-reporters//lib/minitest/relative_position.rb#6
163
+ Minitest::RelativePosition::INFO_PADDING = T.let(T.unsafe(nil), Integer)
164
+
165
+ # source://minitest-reporters//lib/minitest/relative_position.rb#5
166
+ Minitest::RelativePosition::MARK_SIZE = T.let(T.unsafe(nil), Integer)
167
+
168
+ # source://minitest-reporters//lib/minitest/relative_position.rb#3
169
+ Minitest::RelativePosition::TEST_PADDING = T.let(T.unsafe(nil), Integer)
170
+
171
+ # source://minitest-reporters//lib/minitest/relative_position.rb#4
172
+ Minitest::RelativePosition::TEST_SIZE = T.let(T.unsafe(nil), Integer)
173
+
174
+ # source://minitest-reporters//lib/minitest/reporters.rb#7
175
+ module Minitest::Reporters
176
+ class << self
177
+ # source://minitest-reporters//lib/minitest/reporters.rb#61
178
+ def choose_reporters(console_reporters, env); end
179
+
180
+ # source://minitest-reporters//lib/minitest/reporters.rb#73
181
+ def clock_time; end
182
+
183
+ # source://minitest-reporters//lib/minitest/reporters.rb#81
184
+ def minitest_version; end
185
+
186
+ # Returns the value of attribute reporters.
187
+ #
188
+ # source://minitest-reporters//lib/minitest/reporters.rb#22
189
+ def reporters; end
190
+
191
+ # Sets the attribute reporters
192
+ #
193
+ # @param value the value to set the attribute reporters to.
194
+ #
195
+ # source://minitest-reporters//lib/minitest/reporters.rb#22
196
+ def reporters=(_arg0); end
197
+
198
+ # source://minitest-reporters//lib/minitest/reporters.rb#25
199
+ def use!(console_reporters = T.unsafe(nil), env = T.unsafe(nil), backtrace_filter = T.unsafe(nil)); end
200
+
201
+ # source://minitest-reporters//lib/minitest/reporters.rb#43
202
+ def use_around_test_hooks!; end
203
+
204
+ # source://minitest-reporters//lib/minitest/reporters.rb#85
205
+ def use_old_activesupport_fix!; end
206
+
207
+ # source://minitest-reporters//lib/minitest/reporters.rb#39
208
+ def use_runner!(console_reporters, env); end
209
+ end
210
+ end
211
+
212
+ # source://minitest-reporters//lib/minitest/reporters/ansi.rb#3
213
+ module Minitest::Reporters::ANSI; end
214
+
215
+ # source://minitest-reporters//lib/minitest/reporters/ansi.rb#4
216
+ module Minitest::Reporters::ANSI::Code
217
+ include ::ANSI::Constants
218
+ include ::ANSI::Code
219
+ extend ::ANSI::Constants
220
+ extend ::ANSI::Code
221
+
222
+ class << self
223
+ # @return [Boolean]
224
+ #
225
+ # source://minitest-reporters//lib/minitest/reporters/ansi.rb#5
226
+ def color?; end
227
+ end
228
+ end
229
+
230
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#25
231
+ class Minitest::Reporters::BaseReporter < ::Minitest::StatisticsReporter
232
+ # @return [BaseReporter] a new instance of BaseReporter
233
+ #
234
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#28
235
+ def initialize(options = T.unsafe(nil)); end
236
+
237
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#33
238
+ def add_defaults(defaults); end
239
+
240
+ # called by our own after hooks
241
+ #
242
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#55
243
+ def after_test(_test); end
244
+
245
+ # called by our own before hooks
246
+ #
247
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#38
248
+ def before_test(test); end
249
+
250
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#49
251
+ def record(test); end
252
+
253
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#57
254
+ def report; end
255
+
256
+ # Returns the value of attribute tests.
257
+ #
258
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#26
259
+ def tests; end
260
+
261
+ # Sets the attribute tests
262
+ #
263
+ # @param value the value to set the attribute tests to.
264
+ #
265
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#26
266
+ def tests=(_arg0); end
267
+
268
+ protected
269
+
270
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#66
271
+ def after_suite(test); end
272
+
273
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#68
274
+ def before_suite(test); end
275
+
276
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#111
277
+ def filter_backtrace(backtrace); end
278
+
279
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#119
280
+ def print(*args); end
281
+
282
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#93
283
+ def print_colored_status(test); end
284
+
285
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#123
286
+ def print_info(e, name = T.unsafe(nil)); end
287
+
288
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#115
289
+ def puts(*args); end
290
+
291
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#70
292
+ def result(test); end
293
+
294
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#82
295
+ def test_class(result); end
296
+
297
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#107
298
+ def total_count; end
299
+
300
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#103
301
+ def total_time; end
302
+ end
303
+
304
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#10
305
+ class Minitest::Reporters::DefaultReporter < ::Minitest::Reporters::BaseReporter
306
+ include ::ANSI::Constants
307
+ include ::ANSI::Code
308
+ include ::Minitest::Reporters::ANSI::Code
309
+ include ::Minitest::RelativePosition
310
+
311
+ # @return [DefaultReporter] a new instance of DefaultReporter
312
+ #
313
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#14
314
+ def initialize(options = T.unsafe(nil)); end
315
+
316
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#47
317
+ def after_suite(suite); end
318
+
319
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#42
320
+ def before_suite(suite); end
321
+
322
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#37
323
+ def before_test(test); end
324
+
325
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#59
326
+ def on_record(test); end
327
+
328
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#94
329
+ def on_report; end
330
+
331
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#31
332
+ def on_start; end
333
+
334
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#140
335
+ def print_failure(test); end
336
+
337
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#53
338
+ def record(test); end
339
+
340
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#85
341
+ def record_failure(record); end
342
+
343
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#77
344
+ def record_pass(record); end
345
+
346
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#81
347
+ def record_skip(record); end
348
+
349
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#89
350
+ def report; end
351
+
352
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#26
353
+ def start; end
354
+
355
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#89
356
+ def to_s; end
357
+
358
+ private
359
+
360
+ # @return [Boolean]
361
+ #
362
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#167
363
+ def color?; end
364
+
365
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#189
366
+ def colored_for(result, string); end
367
+
368
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#159
369
+ def get_source_location(result); end
370
+
371
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#177
372
+ def green(string); end
373
+
374
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#206
375
+ def location(exception); end
376
+
377
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#216
378
+ def message_for(test); end
379
+
380
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#185
381
+ def red(string); end
382
+
383
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#155
384
+ def relative_path(path); end
385
+
386
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#230
387
+ def result_line; end
388
+
389
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#235
390
+ def suite_duration(suite); end
391
+
392
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#197
393
+ def suite_result; end
394
+
395
+ # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#181
396
+ def yellow(string); end
397
+ end
398
+
399
+ # A reporter for generating HTML test reports
400
+ # This is recommended to be used with a CI server, where the report is kept as an artifact and is accessible via
401
+ # a shared link
402
+ #
403
+ # The reporter sorts the results alphabetically and then by results
404
+ # so that failing and skipped tests are at the top.
405
+ #
406
+ # When using Minitest Specs, the number prefix is dropped from the name of the test so that it reads well
407
+ #
408
+ # On each test run all files in the reports directory are deleted, this prevents a build up of old reports
409
+ #
410
+ # The report is generated using ERB. A custom ERB template can be provided but it is not required
411
+ # The default ERB template uses JQuery and Bootstrap, both of these are included by referencing the CDN sites
412
+ #
413
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#20
414
+ class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter
415
+ # The constructor takes a hash, and uses the following keys:
416
+ # :title - the title that will be used in the report, defaults to 'Test Results'
417
+ # :reports_dir - the directory the reports should be written to, defaults to 'test/html_reports'
418
+ # :erb_template - the path to a custom ERB template, defaults to the supplied ERB template
419
+ # :mode - Useful for debugging, :terse suppresses errors and is the default, :verbose lets errors bubble up
420
+ # :output_filename - the report's filename, defaults to 'index.html'
421
+ #
422
+ # @return [HtmlReporter] a new instance of HtmlReporter
423
+ #
424
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#60
425
+ def initialize(args = T.unsafe(nil)); end
426
+
427
+ # Trims off the number prefix on test names when using Minitest Specs
428
+ #
429
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#48
430
+ def friendly_name(test); end
431
+
432
+ # The number of tests that passed
433
+ #
434
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#25
435
+ def passes; end
436
+
437
+ # The percentage of tests that failed
438
+ #
439
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#43
440
+ def percent_errors_failures; end
441
+
442
+ # The percentage of tests that passed, calculated in a way that avoids rounding errors
443
+ #
444
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#30
445
+ def percent_passes; end
446
+
447
+ # The percentage of tests that were skipped
448
+ # Keeping old method name with typo for backwards compatibility in custom templates (for now)
449
+ #
450
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#35
451
+ def percent_skipps; end
452
+
453
+ # The percentage of tests that were skipped
454
+ #
455
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#35
456
+ def percent_skips; end
457
+
458
+ # Called by the framework to generate the report
459
+ #
460
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#91
461
+ def report; end
462
+
463
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#82
464
+ def start; end
465
+
466
+ # The title of the report
467
+ #
468
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#22
469
+ def title; end
470
+
471
+ private
472
+
473
+ # Test suites are first ordered by evaluating the results of the tests, then by test suite name
474
+ # Test suites which have failing tests are given highest order
475
+ # Tests suites which have skipped tests are given second highest priority
476
+ #
477
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#142
478
+ def compare_suites(suite_a, suite_b); end
479
+
480
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#131
481
+ def compare_suites_by_name(suite_a, suite_b); end
482
+
483
+ # Tests are first ordered by evaluating the results of the tests, then by tests names
484
+ # Tess which fail are given highest order
485
+ # Tests which are skipped are given second highest priority
486
+ #
487
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#157
488
+ def compare_tests(test_a, test_b); end
489
+
490
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#135
491
+ def compare_tests_by_name(test_a, test_b); end
492
+
493
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#127
494
+ def html_file; end
495
+
496
+ # taken from the JUnit reporter
497
+ #
498
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#207
499
+ def location(exception); end
500
+
501
+ # based on message_for(test) from the JUnit reporter
502
+ #
503
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#190
504
+ def message_for(test); end
505
+
506
+ # based on analyze_suite from the JUnit reporter
507
+ #
508
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#175
509
+ def summarize_suite(suite, tests); end
510
+
511
+ # @return [Boolean]
512
+ #
513
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#170
514
+ def test_fail_or_error?(test); end
515
+
516
+ # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#216
517
+ def total_time_to_hms; end
518
+ end
519
+
520
+ # A reporter for writing JUnit test reports
521
+ # Intended for easy integration with CI servers - tested on JetBrains TeamCity
522
+ #
523
+ # Inspired by ci_reporter (see https://github.com/nicksieger/ci_reporter)
524
+ # Also inspired by Marc Seeger's attempt at producing a JUnitReporter (see https://github.com/rb2k/minitest-reporters/commit/e13d95b5f884453a9c77f62bc5cba3fa1df30ef5)
525
+ # Also inspired by minitest-ci (see https://github.com/bhenderson/minitest-ci)
526
+ #
527
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#16
528
+ class Minitest::Reporters::JUnitReporter < ::Minitest::Reporters::BaseReporter
529
+ # @return [JUnitReporter] a new instance of JUnitReporter
530
+ #
531
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#21
532
+ def initialize(reports_dir = T.unsafe(nil), empty = T.unsafe(nil), options = T.unsafe(nil)); end
533
+
534
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#64
535
+ def get_relative_path(result); end
536
+
537
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#35
538
+ def report; end
539
+
540
+ # Returns the value of attribute reports_path.
541
+ #
542
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#19
543
+ def reports_path; end
544
+
545
+ private
546
+
547
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#168
548
+ def analyze_suite(tests); end
549
+
550
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#181
551
+ def filename_for(suite); end
552
+
553
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#77
554
+ def get_source_location(result); end
555
+
556
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#158
557
+ def location(exception); end
558
+
559
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#142
560
+ def message_for(test); end
561
+
562
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#85
563
+ def parse_xml_for(xml, suite, tests); end
564
+
565
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#119
566
+ def xml_message_for(test); end
567
+ end
568
+
569
+ # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#17
570
+ Minitest::Reporters::JUnitReporter::DEFAULT_REPORTS_DIR = T.let(T.unsafe(nil), String)
571
+
572
+ # This reporter creates a report providing the average (mean), minimum and
573
+ # maximum times for a test to run. Running this for all your tests will
574
+ # allow you to:
575
+ #
576
+ # 1) Identify the slowest running tests over time as potential candidates
577
+ # for improvements or refactoring.
578
+ # 2) Identify (and fix) regressions in test run speed caused by changes to
579
+ # your tests or algorithms in your code.
580
+ # 3) Provide an abundance of statistics to enjoy.
581
+ #
582
+ # This is achieved by creating a (configurable) 'previous runs' statistics
583
+ # file which is parsed at the end of each run to provide a new
584
+ # (configurable) report. These statistics can be reset at any time by using
585
+ # a simple rake task:
586
+ #
587
+ # rake reset_statistics
588
+ #
589
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#24
590
+ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultReporter
591
+ # @option previous_runs_filename
592
+ # @option show_count
593
+ # @option show_progress
594
+ # @option show_all_runs
595
+ # @option sort_column
596
+ # @option order
597
+ # @option report_filename
598
+ # @param order [Hash] a customizable set of options
599
+ # @param previous_runs_filename [Hash] a customizable set of options
600
+ # @param options [Hash]
601
+ # @param report_filename [Hash] a customizable set of options
602
+ # @param show_count [Hash] a customizable set of options
603
+ # @param show_progress [Hash] a customizable set of options
604
+ # @param show_all_runs [Hash] a customizable set of options
605
+ # @param sort_column [Hash] a customizable set of options
606
+ # @return [Minitest::Reporters::MeanTimeReporter]
607
+ #
608
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#54
609
+ def initialize(options = T.unsafe(nil)); end
610
+
611
+ # Copies the suite times from the
612
+ # {Minitest::Reporters::DefaultReporter#after_suite} method, making them
613
+ # available to this class.
614
+ #
615
+ # @return [Hash<String => Float>]
616
+ #
617
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#65
618
+ def after_suite(suite); end
619
+
620
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#90
621
+ def on_record(test); end
622
+
623
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#94
624
+ def on_report; end
625
+
626
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#86
627
+ def on_start; end
628
+
629
+ # Runs the {Minitest::Reporters::DefaultReporter#report} method and then
630
+ # enhances it by storing the results to the 'previous_runs_filename' and
631
+ # outputs the parsed results to both the 'report_filename' and the
632
+ # terminal.
633
+ #
634
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#76
635
+ def report; end
636
+
637
+ # Resets the 'previous runs' file, essentially removing all previous
638
+ # statistics gathered.
639
+ #
640
+ # @return [void]
641
+ #
642
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#102
643
+ def reset_statistics!; end
644
+
645
+ protected
646
+
647
+ # Returns the value of attribute all_suite_times.
648
+ #
649
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108
650
+ def all_suite_times; end
651
+
652
+ # Sets the attribute all_suite_times
653
+ #
654
+ # @param value the value to set the attribute all_suite_times to.
655
+ #
656
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108
657
+ def all_suite_times=(_arg0); end
658
+
659
+ private
660
+
661
+ # @return [Boolean] Whether the given :order option is :asc.
662
+ #
663
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#346
664
+ def asc?; end
665
+
666
+ # @return [String] A yellow 'Avg:' label.
667
+ #
668
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#301
669
+ def avg_label; end
670
+
671
+ # @return [Array<Hash<Symbol => String>>] All of the results sorted by
672
+ # the :sort_column option. (Defaults to :avg).
673
+ #
674
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#172
675
+ def column_sorted_body; end
676
+
677
+ # Creates a new report file in the 'report_filename'. This file contains
678
+ # a line for each test of the following example format: (this is a single
679
+ # line despite explicit wrapping)
680
+ #
681
+ # Avg: 0.0555555 Min: 0.0498765 Max: 0.0612345 Last: 0.0499421
682
+ # Description: The test name
683
+ #
684
+ # Note however the timings are to 9 decimal places, and padded to 12
685
+ # characters and each label is coloured, Avg (yellow), Min (green),
686
+ # Max (red), Last (multi), and Description (blue). It looks pretty!
687
+ #
688
+ # The 'Last' label is special in that it will be colour coded depending
689
+ # on whether the last run was faster (bright green) or slower (bright red)
690
+ # or inconclusive (purple). This helps to identify changes on a per run
691
+ # basis.
692
+ #
693
+ # @return [void]
694
+ #
695
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#286
696
+ def create_new_report!; end
697
+
698
+ # Creates a new 'previous runs' file, or updates the existing one with
699
+ # the latest timings.
700
+ #
701
+ # @return [void]
702
+ #
703
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#248
704
+ def create_or_update_previous_runs!; end
705
+
706
+ # @return [Hash<String => Float>]
707
+ #
708
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#113
709
+ def current_run; end
710
+
711
+ # @return [Hash] Sets default values for the filenames used by this class,
712
+ # and the number of tests to output to output to the screen after each
713
+ # run.
714
+ #
715
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#120
716
+ def defaults; end
717
+
718
+ # @return [String] A blue 'Description:' label.
719
+ #
720
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#306
721
+ def des_label; end
722
+
723
+ # @return [Boolean] Whether the given :order option is :desc (default).
724
+ #
725
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#351
726
+ def desc?; end
727
+
728
+ # @return [String] A red 'Max:' label.
729
+ #
730
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#311
731
+ def max_label; end
732
+
733
+ # @return [String] A green 'Min:' label.
734
+ #
735
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#316
736
+ def min_label; end
737
+
738
+ # @return [Hash]
739
+ #
740
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#189
741
+ def options; end
742
+
743
+ # @raise [Minitest::Reporters::MeanTimeReporter::InvalidOrder] When the given :order option is invalid.
744
+ # @return [Symbol] The :order option, or by default; :desc.
745
+ #
746
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#358
747
+ def order; end
748
+
749
+ # @return [String] All of the column-sorted results sorted by the :order
750
+ # option. (Defaults to :desc).
751
+ #
752
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#160
753
+ def order_sorted_body; end
754
+
755
+ # @return [Hash<String => Array<Float>]] Hash<String => Array<Float>]
756
+ #
757
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#200
758
+ def previous_run; end
759
+
760
+ # @return [String] The path to the file which contains all the durations
761
+ # for each test run. The previous runs file is in YAML format, using the
762
+ # test name for the key and an array containing the time taken to run
763
+ # this test for values.
764
+ #
765
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#208
766
+ def previous_runs_filename; end
767
+
768
+ # Returns a boolean indicating whether a previous runs file exists.
769
+ #
770
+ # @return [Boolean]
771
+ #
772
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#215
773
+ def previously_ran?; end
774
+
775
+ # @param run [Float] The last run time.
776
+ # @param min [Float] The minimum run time.
777
+ # @param max [Float] The maximum run time.
778
+ # @return [Symbol] One of :faster, :slower or :inconclusive.
779
+ #
780
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#335
781
+ def rate(run, min, max); end
782
+
783
+ # The report itself. Displays statistics about all runs, ideal for use
784
+ # with the Unix 'head' command. Listed in slowest average descending
785
+ # order.
786
+ #
787
+ # @return [String]
788
+ #
789
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#146
790
+ def report_body; end
791
+
792
+ # @return [String] The path to the file which contains the parsed test
793
+ # results. The results file contains a line for each test with the
794
+ # average time of the test, the minimum time the test took to run,
795
+ # the maximum time the test took to run and a description of the test
796
+ # (which is the test name as emitted by Minitest).
797
+ #
798
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#224
799
+ def report_filename; end
800
+
801
+ # Added to the top of the report file and to the screen output.
802
+ #
803
+ # @return [String]
804
+ #
805
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#135
806
+ def report_title; end
807
+
808
+ # @param rating [Symbol] One of :faster, :slower or :inconclusive.
809
+ # @return [String] A purple 'Last:' label.
810
+ #
811
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#322
812
+ def run_label(rating); end
813
+
814
+ # A barbaric way to find out how many runs are in the previous runs file;
815
+ # this method takes the first test listed, and counts its samples
816
+ # trusting (naively) all runs to be the same number of samples. This will
817
+ # produce incorrect averages when new tests are added, so it is advised
818
+ # to restart the statistics by removing the 'previous runs' file. A rake
819
+ # task is provided to make this more convenient.
820
+ #
821
+ # rake reset_statistics
822
+ #
823
+ # @return [Fixnum]
824
+ #
825
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#238
826
+ def samples; end
827
+
828
+ # @return [Fixnum] The number of tests to output to output to the screen
829
+ # after each run.
830
+ #
831
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#195
832
+ def show_count; end
833
+
834
+ # @raise [Minitest::Reporters::MeanTimeReporter::InvalidSortColumn] When the given :sort_column option is invalid.
835
+ # @return [Symbol] The :sort_column option, or by default; :avg.
836
+ #
837
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#374
838
+ def sort_column; end
839
+
840
+ # Writes a number of tests (configured via the 'show_count' option) to the
841
+ # screen after creating the report. See '#create_new_report!' for example
842
+ # output information.
843
+ #
844
+ # @return [void]
845
+ #
846
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#295
847
+ def write_to_screen!; end
848
+
849
+ class << self
850
+ # Reset the statistics file for this reporter. Called via a rake task:
851
+ #
852
+ # rake reset_statistics
853
+ #
854
+ # @return [Boolean]
855
+ #
856
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#33
857
+ def reset_statistics!; end
858
+ end
859
+ end
860
+
861
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#25
862
+ class Minitest::Reporters::MeanTimeReporter::InvalidOrder < ::StandardError; end
863
+
864
+ # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#26
865
+ class Minitest::Reporters::MeanTimeReporter::InvalidSortColumn < ::StandardError; end
866
+
867
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#12
868
+ class Minitest::Reporters::ProgressReporter < ::Minitest::Reporters::BaseReporter
869
+ include ::Minitest::RelativePosition
870
+ include ::ANSI::Constants
871
+ include ::ANSI::Code
872
+ include ::Minitest::Reporters::ANSI::Code
873
+
874
+ # @return [ProgressReporter] a new instance of ProgressReporter
875
+ #
876
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#18
877
+ def initialize(options = T.unsafe(nil)); end
878
+
879
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#41
880
+ def before_test(test); end
881
+
882
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#49
883
+ def record(test); end
884
+
885
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#70
886
+ def report; end
887
+
888
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#32
889
+ def start; end
890
+
891
+ private
892
+
893
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#93
894
+ def color; end
895
+
896
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#97
897
+ def color=(color); end
898
+
899
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#89
900
+ def print_test_with_time(test); end
901
+
902
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#85
903
+ def show; end
904
+ end
905
+
906
+ # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#16
907
+ Minitest::Reporters::ProgressReporter::PROGRESS_MARK = T.let(T.unsafe(nil), String)
908
+
909
+ # Simple reporter designed for RubyMate.
910
+ #
911
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#4
912
+ class Minitest::Reporters::RubyMateReporter < ::Minitest::Reporters::BaseReporter
913
+ include ::Minitest::RelativePosition
914
+
915
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#15
916
+ def record(test); end
917
+
918
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#37
919
+ def report; end
920
+
921
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#9
922
+ def start; end
923
+
924
+ private
925
+
926
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#49
927
+ def print_test_with_time(test); end
928
+ end
929
+
930
+ # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#7
931
+ Minitest::Reporters::RubyMateReporter::INFO_PADDING = T.let(T.unsafe(nil), Integer)
932
+
933
+ # source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#15
934
+ class Minitest::Reporters::RubyMineReporter < ::Minitest::Reporters::DefaultReporter
935
+ # source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#16
936
+ def initialize(options = T.unsafe(nil)); end
937
+ end
938
+
939
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#9
940
+ class Minitest::Reporters::SpecReporter < ::Minitest::Reporters::BaseReporter
941
+ include ::ANSI::Constants
942
+ include ::ANSI::Code
943
+ include ::Minitest::Reporters::ANSI::Code
944
+ include ::Minitest::RelativePosition
945
+
946
+ # The constructor takes an `options` hash
947
+ #
948
+ # @option options
949
+ # @param options [Hash]
950
+ # @return [SpecReporter] a new instance of SpecReporter
951
+ #
952
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#18
953
+ def initialize(options = T.unsafe(nil)); end
954
+
955
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#50
956
+ def record(test); end
957
+
958
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#29
959
+ def report; end
960
+
961
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#23
962
+ def start; end
963
+
964
+ protected
965
+
966
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#62
967
+ def after_suite(_suite); end
968
+
969
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#58
970
+ def before_suite(suite); end
971
+
972
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#66
973
+ def print_failure(name, tests); end
974
+
975
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#76
976
+ def record_print_failures_if_any(test); end
977
+
978
+ # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#83
979
+ def record_print_status(test); end
980
+ end
981
+
982
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#3
983
+ class Minitest::Reporters::Suite
984
+ # @return [Suite] a new instance of Suite
985
+ #
986
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#5
987
+ def initialize(name); end
988
+
989
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#9
990
+ def ==(other); end
991
+
992
+ # @return [Boolean]
993
+ #
994
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#13
995
+ def eql?(other); end
996
+
997
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#17
998
+ def hash; end
999
+
1000
+ # Returns the value of attribute name.
1001
+ #
1002
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#4
1003
+ def name; end
1004
+
1005
+ # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#21
1006
+ def to_s; end
1007
+ end
1008
+
1009
+ # source://minitest-reporters//lib/minitest/reporters/version.rb#3
1010
+ Minitest::Reporters::VERSION = T.let(T.unsafe(nil), String)