hank 0.1.0

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