checkoff 0.222.0 → 0.225.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/attachments.rb +1 -0
  4. data/lib/checkoff/cli.rb +1 -1
  5. data/lib/checkoff/clients.rb +2 -1
  6. data/lib/checkoff/custom_fields.rb +2 -1
  7. data/lib/checkoff/events.rb +2 -1
  8. data/lib/checkoff/internal/asana_event_enrichment.rb +1 -0
  9. data/lib/checkoff/internal/asana_event_filter.rb +1 -0
  10. data/lib/checkoff/internal/config_loader.rb +2 -2
  11. data/lib/checkoff/internal/logging.rb +6 -5
  12. data/lib/checkoff/internal/project_hashes.rb +1 -0
  13. data/lib/checkoff/internal/project_selector_evaluator.rb +2 -1
  14. data/lib/checkoff/internal/project_timing.rb +1 -0
  15. data/lib/checkoff/internal/search_url/custom_field_param_converter.rb +1 -0
  16. data/lib/checkoff/internal/search_url/custom_field_variant.rb +1 -0
  17. data/lib/checkoff/internal/search_url/date_param_converter.rb +1 -0
  18. data/lib/checkoff/internal/search_url/parser.rb +1 -0
  19. data/lib/checkoff/internal/search_url/results_merger.rb +1 -0
  20. data/lib/checkoff/internal/search_url/simple_param_converter.rb +1 -0
  21. data/lib/checkoff/internal/search_url.rb +1 -0
  22. data/lib/checkoff/internal/section_selector_evaluator.rb +2 -1
  23. data/lib/checkoff/internal/selector_classes/common/function_evaluator.rb +1 -0
  24. data/lib/checkoff/internal/selector_classes/common.rb +1 -0
  25. data/lib/checkoff/internal/selector_classes/function_evaluator.rb +1 -0
  26. data/lib/checkoff/internal/selector_classes/project/function_evaluator.rb +1 -0
  27. data/lib/checkoff/internal/selector_classes/project.rb +1 -0
  28. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -1
  29. data/lib/checkoff/internal/selector_classes/section.rb +1 -0
  30. data/lib/checkoff/internal/selector_classes/task/function_evaluator.rb +1 -0
  31. data/lib/checkoff/internal/selector_classes/task.rb +1 -0
  32. data/lib/checkoff/internal/selector_evaluator.rb +5 -4
  33. data/lib/checkoff/internal/task_hashes.rb +1 -0
  34. data/lib/checkoff/internal/task_selector_evaluator.rb +2 -1
  35. data/lib/checkoff/internal/task_timing.rb +1 -0
  36. data/lib/checkoff/internal/thread_local.rb +1 -0
  37. data/lib/checkoff/monkeypatches/resource_marshalling.rb +1 -0
  38. data/lib/checkoff/my_tasks.rb +2 -1
  39. data/lib/checkoff/portfolios.rb +12 -9
  40. data/lib/checkoff/project_selectors.rb +1 -0
  41. data/lib/checkoff/projects.rb +3 -1
  42. data/lib/checkoff/resources.rb +1 -0
  43. data/lib/checkoff/section_selectors.rb +1 -0
  44. data/lib/checkoff/sections.rb +4 -4
  45. data/lib/checkoff/subtasks.rb +1 -0
  46. data/lib/checkoff/tags.rb +67 -17
  47. data/lib/checkoff/task_searches.rb +1 -0
  48. data/lib/checkoff/task_selectors.rb +1 -0
  49. data/lib/checkoff/tasks.rb +2 -2
  50. data/lib/checkoff/timelines.rb +1 -0
  51. data/lib/checkoff/timing.rb +1 -0
  52. data/lib/checkoff/version.rb +2 -1
  53. data/lib/checkoff/workspaces.rb +2 -1
  54. data/lib/checkoff.rb +1 -0
  55. data/rbi/checkoff.rbi +4529 -0
  56. data/sig/checkoff.rbs +3749 -0
  57. metadata +4 -205
  58. data/.circleci/config.yml +0 -291
  59. data/.envrc +0 -9
  60. data/.git-hooks/pre_commit/circle_ci.rb +0 -25
  61. data/.git-hooks/pre_commit/punchlist.rb +0 -51
  62. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -76
  63. data/.gitattributes +0 -6
  64. data/.gitignore +0 -61
  65. data/.markdownlint_style.rb +0 -3
  66. data/.mdlrc +0 -1
  67. data/.overcommit.yml +0 -114
  68. data/.rubocop.yml +0 -143
  69. data/.rubocop_todo.yml +0 -90
  70. data/.solargraph.yml +0 -35
  71. data/.yamllint.yml +0 -8
  72. data/CODE_OF_CONDUCT.md +0 -133
  73. data/CONTRIBUTING.rst +0 -75
  74. data/DEVELOPMENT.md +0 -69
  75. data/GLOSSARY.md +0 -16
  76. data/Gemfile +0 -66
  77. data/Gemfile.lock +0 -336
  78. data/LICENSE +0 -21
  79. data/Makefile +0 -121
  80. data/bin/brakeman +0 -27
  81. data/bin/bump +0 -29
  82. data/bin/checkoff +0 -29
  83. data/bin/console +0 -15
  84. data/bin/overcommit +0 -29
  85. data/bin/overcommit_branch +0 -114
  86. data/bin/rake +0 -29
  87. data/bin/rubocop +0 -27
  88. data/bin/setup +0 -8
  89. data/bin/solargraph +0 -27
  90. data/bin/sord +0 -27
  91. data/bin/spoom +0 -27
  92. data/bin/srb +0 -27
  93. data/bin/srb-rbi +0 -27
  94. data/bin/tapioca +0 -27
  95. data/bin/yard +0 -27
  96. data/config/annotations_asana.rb +0 -254
  97. data/config/annotations_misc.rb +0 -68
  98. data/config/env.1p +0 -2
  99. data/docs/.gitignore +0 -3
  100. data/docs/cookiecutter_input.json +0 -17
  101. data/docs/example_project.png +0 -0
  102. data/fix.sh +0 -534
  103. data/metrics/bigfiles_high_water_mark +0 -1
  104. data/metrics/brakeman_high_water_mark +0 -1
  105. data/metrics/bundle-audit_high_water_mark +0 -1
  106. data/metrics/cane_high_water_mark +0 -1
  107. data/metrics/eslint_high_water_mark +0 -1
  108. data/metrics/flake8_high_water_mark +0 -1
  109. data/metrics/flay_high_water_mark +0 -1
  110. data/metrics/flog_high_water_mark +0 -1
  111. data/metrics/jscs_high_water_mark +0 -1
  112. data/metrics/mdl_high_water_mark +0 -1
  113. data/metrics/pep8_high_water_mark +0 -1
  114. data/metrics/punchlist_high_water_mark +0 -1
  115. data/metrics/pycodestyle_high_water_mark +0 -1
  116. data/metrics/rails_best_practices_high_water_mark +0 -1
  117. data/metrics/rubocop_high_water_mark +0 -1
  118. data/metrics/scalastyle_high_water_mark +0 -1
  119. data/metrics/shellcheck_high_water_mark +0 -1
  120. data/package.json +0 -9
  121. data/rakelib/citest.rake +0 -4
  122. data/rakelib/clear_metrics.rake +0 -9
  123. data/rakelib/console.rake +0 -15
  124. data/rakelib/default.rake +0 -4
  125. data/rakelib/doc.rake +0 -6
  126. data/rakelib/gem_tasks.rake +0 -3
  127. data/rakelib/localtest.rake +0 -4
  128. data/rakelib/overcommit.rake +0 -6
  129. data/rakelib/quality.rake +0 -4
  130. data/rakelib/repl.rake +0 -4
  131. data/rakelib/test.rake +0 -10
  132. data/rakelib/trigger_next_builds.rake +0 -7
  133. data/rakelib/undercover.rake +0 -8
  134. data/requirements_dev.txt +0 -2
  135. data/sorbet/config +0 -4
  136. data/sorbet/rbi/annotations/.gitattributes +0 -1
  137. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  138. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  139. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  140. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  141. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  142. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  143. data/sorbet/rbi/dsl/.gitattributes +0 -1
  144. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  145. data/sorbet/rbi/gems/.gitattributes +0 -1
  146. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  147. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  148. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  149. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  150. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  151. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  152. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  153. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  154. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  155. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  156. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  157. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  158. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  159. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  160. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  161. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  162. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  163. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  164. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  165. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  166. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  167. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  168. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  169. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  170. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  171. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  172. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  173. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  174. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  175. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  176. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  177. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  178. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  179. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  180. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  181. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  182. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  183. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  184. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  185. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  186. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  187. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  188. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  189. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  190. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  191. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  192. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  193. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  194. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  195. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  196. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  197. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  198. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  199. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  200. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  201. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  202. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  203. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  204. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  205. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  206. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  207. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  208. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  209. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  210. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  211. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  212. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  213. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  214. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  215. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  216. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  217. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  218. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  219. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  220. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  221. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  222. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  223. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  224. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  225. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  226. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  227. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  228. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  229. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  230. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7061
  231. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  232. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  233. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  234. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  235. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  236. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  237. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  238. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  239. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  240. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  241. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  242. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  243. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  244. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  245. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  246. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  247. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  248. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  249. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  250. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  251. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  252. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  253. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  254. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  255. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  256. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  257. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  258. data/sorbet/rbi/todo.rbi +0 -11
  259. data/sorbet/tapioca/config.yml +0 -13
  260. data/sorbet/tapioca/require.rb +0 -4
@@ -1,1539 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `minitest` gem.
5
- # Please instead update this file by running `bin/tapioca gem minitest`.
6
-
7
-
8
- # :include: README.rdoc
9
- #
10
- # source://minitest//lib/minitest/parallel.rb#1
11
- module Minitest
12
- class << self
13
- # Internal run method. Responsible for telling all Runnable
14
- # sub-classes to run.
15
- #
16
- # source://minitest//lib/minitest.rb#176
17
- def __run(reporter, options); end
18
-
19
- # A simple hook allowing you to run a block of code after everything
20
- # is done running. Eg:
21
- #
22
- # Minitest.after_run { p $debugging_info }
23
- #
24
- # source://minitest//lib/minitest.rb#97
25
- def after_run(&block); end
26
-
27
- # source://minitest//lib/minitest.rb#19
28
- def allow_fork; end
29
-
30
- # source://minitest//lib/minitest.rb#19
31
- def allow_fork=(_arg0); end
32
-
33
- # Registers Minitest to run at process exit
34
- #
35
- # source://minitest//lib/minitest.rb#69
36
- def autorun; end
37
-
38
- # source://minitest//lib/minitest.rb#19
39
- def backtrace_filter; end
40
-
41
- # source://minitest//lib/minitest.rb#19
42
- def backtrace_filter=(_arg0); end
43
-
44
- # source://minitest//lib/minitest.rb#18
45
- def cattr_accessor(name); end
46
-
47
- # source://minitest//lib/minitest.rb#1134
48
- def clock_time; end
49
-
50
- # source://minitest//lib/minitest.rb#19
51
- def extensions; end
52
-
53
- # source://minitest//lib/minitest.rb#19
54
- def extensions=(_arg0); end
55
-
56
- # source://minitest//lib/minitest.rb#271
57
- def filter_backtrace(bt); end
58
-
59
- # source://minitest//lib/minitest.rb#19
60
- def info_signal; end
61
-
62
- # source://minitest//lib/minitest.rb#19
63
- def info_signal=(_arg0); end
64
-
65
- # source://minitest//lib/minitest.rb#101
66
- def init_plugins(options); end
67
-
68
- # source://minitest//lib/minitest.rb#108
69
- def load_plugins; end
70
-
71
- # source://minitest//lib/minitest.rb#19
72
- def parallel_executor; end
73
-
74
- # source://minitest//lib/minitest.rb#19
75
- def parallel_executor=(_arg0); end
76
-
77
- # source://minitest-profile/0.0.2/lib/minitest/profile_plugin.rb#11
78
- def plugin_profile_init(options); end
79
-
80
- # source://minitest-profile/0.0.2/lib/minitest/profile_plugin.rb#5
81
- def plugin_profile_options(opts, options); end
82
-
83
- # source://minitest//lib/minitest.rb#189
84
- def process_args(args = T.unsafe(nil)); end
85
-
86
- # source://minitest//lib/minitest.rb#19
87
- def reporter; end
88
-
89
- # source://minitest//lib/minitest.rb#19
90
- def reporter=(_arg0); end
91
-
92
- # This is the top-level run method. Everything starts from here. It
93
- # tells each Runnable sub-class to run, and each of those are
94
- # responsible for doing whatever they do.
95
- #
96
- # The overall structure of a run looks like this:
97
- #
98
- # Minitest.autorun
99
- # Minitest.run(args)
100
- # Minitest.__run(reporter, options)
101
- # Runnable.runnables.each
102
- # runnable.run(reporter, options)
103
- # self.runnable_methods.each
104
- # self.run_one_method(self, runnable_method, reporter)
105
- # Minitest.run_one_method(klass, runnable_method)
106
- # klass.new(runnable_method).run
107
- #
108
- # source://minitest//lib/minitest.rb#143
109
- def run(args = T.unsafe(nil)); end
110
-
111
- # source://minitest//lib/minitest.rb#1125
112
- def run_one_method(klass, method_name); end
113
-
114
- # source://minitest//lib/minitest.rb#19
115
- def seed; end
116
-
117
- # source://minitest//lib/minitest.rb#19
118
- def seed=(_arg0); end
119
- end
120
- end
121
-
122
- # Defines the API for Reporters. Subclass this and override whatever
123
- # you want. Go nuts.
124
- #
125
- # source://minitest//lib/minitest.rb#627
126
- class Minitest::AbstractReporter
127
- # @return [AbstractReporter] a new instance of AbstractReporter
128
- #
129
- # source://minitest//lib/minitest.rb#629
130
- def initialize; end
131
-
132
- # Did this run pass?
133
- #
134
- # @return [Boolean]
135
- #
136
- # source://minitest//lib/minitest.rb#664
137
- def passed?; end
138
-
139
- # About to start running a test. This allows a reporter to show
140
- # that it is starting or that we are in the middle of a test run.
141
- #
142
- # source://minitest//lib/minitest.rb#643
143
- def prerecord(klass, name); end
144
-
145
- # Output and record the result of the test. Call
146
- # {result#result_code}[rdoc-ref:Runnable#result_code] to get the
147
- # result character string. Stores the result of the run if the run
148
- # did not pass.
149
- #
150
- # source://minitest//lib/minitest.rb#652
151
- def record(result); end
152
-
153
- # Outputs the summary of the run.
154
- #
155
- # source://minitest//lib/minitest.rb#658
156
- def report; end
157
-
158
- # Starts reporting on the run.
159
- #
160
- # source://minitest//lib/minitest.rb#636
161
- def start; end
162
-
163
- # source://minitest//lib/minitest.rb#668
164
- def synchronize(&block); end
165
- end
166
-
167
- # Represents run failures.
168
- #
169
- # source://minitest//lib/minitest.rb#951
170
- class Minitest::Assertion < ::Exception
171
- # source://minitest//lib/minitest.rb#954
172
- def error; end
173
-
174
- # Where was this run before an assertion was raised?
175
- #
176
- # source://minitest//lib/minitest.rb#961
177
- def location; end
178
-
179
- # source://minitest//lib/minitest.rb#968
180
- def result_code; end
181
-
182
- # source://minitest//lib/minitest.rb#972
183
- def result_label; end
184
- end
185
-
186
- # source://minitest//lib/minitest.rb#952
187
- Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp)
188
-
189
- # Minitest Assertions. All assertion methods accept a +msg+ which is
190
- # printed if the assertion fails.
191
- #
192
- # Protocol: Nearly everything here boils up to +assert+, which
193
- # expects to be able to increment an instance accessor named
194
- # +assertions+. This is not provided by Assertions and must be
195
- # provided by the thing including Assertions. See Minitest::Runnable
196
- # for an example.
197
- #
198
- # source://minitest//lib/minitest/assertions.rb#18
199
- module Minitest::Assertions
200
- # source://minitest//lib/minitest/assertions.rb#188
201
- def _synchronize; end
202
-
203
- # source://minitest//lib/minitest/assertions.rb#201
204
- def _where; end
205
-
206
- # Fails unless +test+ is truthy.
207
- #
208
- # source://minitest//lib/minitest/assertions.rb#178
209
- def assert(test, msg = T.unsafe(nil)); end
210
-
211
- # Fails unless +obj+ is empty.
212
- #
213
- # source://minitest//lib/minitest/assertions.rb#195
214
- def assert_empty(obj, msg = T.unsafe(nil)); end
215
-
216
- # Fails unless <tt>exp == act</tt> printing the difference between
217
- # the two, if possible.
218
- #
219
- # If there is no visible difference but the assertion fails, you
220
- # should suspect that your #== is buggy, or your inspect output is
221
- # missing crucial details. For nicer structural diffing, set
222
- # Minitest::Test.make_my_diffs_pretty!
223
- #
224
- # For floats use assert_in_delta.
225
- #
226
- # See also: Minitest::Assertions.diff
227
- #
228
- # source://minitest//lib/minitest/assertions.rb#221
229
- def assert_equal(exp, act, msg = T.unsafe(nil)); end
230
-
231
- # For comparing Floats. Fails unless +exp+ and +act+ are within +delta+
232
- # of each other.
233
- #
234
- # assert_in_delta Math::PI, (22.0 / 7.0), 0.01
235
- #
236
- # source://minitest//lib/minitest/assertions.rb#242
237
- def assert_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
238
-
239
- # For comparing Floats. Fails unless +exp+ and +act+ have a relative
240
- # error less than +epsilon+.
241
- #
242
- # source://minitest//lib/minitest/assertions.rb#254
243
- def assert_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
244
-
245
- # Fails unless +collection+ includes +obj+.
246
- #
247
- # source://minitest//lib/minitest/assertions.rb#261
248
- def assert_includes(collection, obj, msg = T.unsafe(nil)); end
249
-
250
- # Fails unless +obj+ is an instance of +cls+.
251
- #
252
- # source://minitest//lib/minitest/assertions.rb#272
253
- def assert_instance_of(cls, obj, msg = T.unsafe(nil)); end
254
-
255
- # Fails unless +obj+ is a kind of +cls+.
256
- #
257
- # source://minitest//lib/minitest/assertions.rb#283
258
- def assert_kind_of(cls, obj, msg = T.unsafe(nil)); end
259
-
260
- # Fails unless +matcher+ <tt>=~</tt> +obj+.
261
- #
262
- # source://minitest//lib/minitest/assertions.rb#293
263
- def assert_match(matcher, obj, msg = T.unsafe(nil)); end
264
-
265
- # Fails unless +obj+ is nil
266
- #
267
- # source://minitest//lib/minitest/assertions.rb#305
268
- def assert_nil(obj, msg = T.unsafe(nil)); end
269
-
270
- # For testing with binary operators. Eg:
271
- #
272
- # assert_operator 5, :<=, 4
273
- #
274
- # source://minitest//lib/minitest/assertions.rb#315
275
- def assert_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
276
-
277
- # Fails if stdout or stderr do not output the expected results.
278
- # Pass in nil if you don't care about that streams output. Pass in
279
- # "" if you require it to be silent. Pass in a regexp if you want
280
- # to pattern match.
281
- #
282
- # assert_output(/hey/) { method_with_output }
283
- #
284
- # NOTE: this uses #capture_io, not #capture_subprocess_io.
285
- #
286
- # See also: #assert_silent
287
- #
288
- # source://minitest//lib/minitest/assertions.rb#333
289
- def assert_output(stdout = T.unsafe(nil), stderr = T.unsafe(nil)); end
290
-
291
- # Fails unless +path+ exists.
292
- #
293
- # source://minitest//lib/minitest/assertions.rb#357
294
- def assert_path_exists(path, msg = T.unsafe(nil)); end
295
-
296
- # For testing with pattern matching (only supported with Ruby 3.0 and later)
297
- #
298
- # # pass
299
- # assert_pattern { [1,2,3] => [Integer, Integer, Integer] }
300
- #
301
- # # fail "length mismatch (given 3, expected 1)"
302
- # assert_pattern { [1,2,3] => [Integer] }
303
- #
304
- # The bare <tt>=></tt> pattern will raise a NoMatchingPatternError on failure, which would
305
- # normally be counted as a test error. This assertion rescues NoMatchingPatternError and
306
- # generates a test failure. Any other exception will be raised as normal and generate a test
307
- # error.
308
- #
309
- # @raise [NotImplementedError]
310
- #
311
- # source://minitest//lib/minitest/assertions.rb#376
312
- def assert_pattern; end
313
-
314
- # For testing with predicates. Eg:
315
- #
316
- # assert_predicate str, :empty?
317
- #
318
- # This is really meant for specs and is front-ended by assert_operator:
319
- #
320
- # str.must_be :empty?
321
- #
322
- # source://minitest//lib/minitest/assertions.rb#397
323
- def assert_predicate(o1, op, msg = T.unsafe(nil)); end
324
-
325
- # Fails unless the block raises one of +exp+. Returns the
326
- # exception matched so you can check the message, attributes, etc.
327
- #
328
- # +exp+ takes an optional message on the end to help explain
329
- # failures and defaults to StandardError if no exception class is
330
- # passed. Eg:
331
- #
332
- # assert_raises(CustomError) { method_with_custom_error }
333
- #
334
- # With custom error message:
335
- #
336
- # assert_raises(CustomError, 'This should have raised CustomError') { method_with_custom_error }
337
- #
338
- # Using the returned object:
339
- #
340
- # error = assert_raises(CustomError) do
341
- # raise CustomError, 'This is really bad'
342
- # end
343
- #
344
- # assert_equal 'This is really bad', error.message
345
- #
346
- # source://minitest//lib/minitest/assertions.rb#424
347
- def assert_raises(*exp); end
348
-
349
- # Fails unless +obj+ responds to +meth+.
350
- # include_all defaults to false to match Object#respond_to?
351
- #
352
- # source://minitest//lib/minitest/assertions.rb#456
353
- def assert_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
354
-
355
- # Fails unless +exp+ and +act+ are #equal?
356
- #
357
- # source://minitest//lib/minitest/assertions.rb#466
358
- def assert_same(exp, act, msg = T.unsafe(nil)); end
359
-
360
- # +send_ary+ is a receiver, message and arguments.
361
- #
362
- # Fails unless the call returns a true value
363
- #
364
- # source://minitest//lib/minitest/assertions.rb#479
365
- def assert_send(send_ary, m = T.unsafe(nil)); end
366
-
367
- # Fails if the block outputs anything to stderr or stdout.
368
- #
369
- # See also: #assert_output
370
- #
371
- # source://minitest//lib/minitest/assertions.rb#493
372
- def assert_silent; end
373
-
374
- # Fails unless the block throws +sym+
375
- #
376
- # source://minitest//lib/minitest/assertions.rb#502
377
- def assert_throws(sym, msg = T.unsafe(nil)); end
378
-
379
- # Captures $stdout and $stderr into strings:
380
- #
381
- # out, err = capture_io do
382
- # puts "Some info"
383
- # warn "You did a bad thing"
384
- # end
385
- #
386
- # assert_match %r%info%, out
387
- # assert_match %r%bad%, err
388
- #
389
- # NOTE: For efficiency, this method uses StringIO and does not
390
- # capture IO for subprocesses. Use #capture_subprocess_io for
391
- # that.
392
- #
393
- # source://minitest//lib/minitest/assertions.rb#543
394
- def capture_io; end
395
-
396
- # Captures $stdout and $stderr into strings, using Tempfile to
397
- # ensure that subprocess IO is captured as well.
398
- #
399
- # out, err = capture_subprocess_io do
400
- # system "echo Some info"
401
- # system "echo You did a bad thing 1>&2"
402
- # end
403
- #
404
- # assert_match %r%info%, out
405
- # assert_match %r%bad%, err
406
- #
407
- # NOTE: This method is approximately 10x slower than #capture_io so
408
- # only use it when you need to test the output of a subprocess.
409
- #
410
- # source://minitest//lib/minitest/assertions.rb#576
411
- def capture_subprocess_io; end
412
-
413
- # Returns a diff between +exp+ and +act+. If there is no known
414
- # diff command or if it doesn't make sense to diff the output
415
- # (single line, short output), then it simply returns a basic
416
- # comparison between the two.
417
- #
418
- # See +things_to_diff+ for more info.
419
- #
420
- # source://minitest//lib/minitest/assertions.rb#59
421
- def diff(exp, act); end
422
-
423
- # Returns details for exception +e+
424
- #
425
- # source://minitest//lib/minitest/assertions.rb#608
426
- def exception_details(e, msg); end
427
-
428
- # Fails after a given date (in the local time zone). This allows
429
- # you to put time-bombs in your tests if you need to keep
430
- # something around until a later date lest you forget about it.
431
- #
432
- # source://minitest//lib/minitest/assertions.rb#624
433
- def fail_after(y, m, d, msg); end
434
-
435
- # Fails with +msg+.
436
- #
437
- # source://minitest//lib/minitest/assertions.rb#631
438
- def flunk(msg = T.unsafe(nil)); end
439
-
440
- # Returns a proc that will output +msg+ along with the default message.
441
- #
442
- # source://minitest//lib/minitest/assertions.rb#639
443
- def message(msg = T.unsafe(nil), ending = T.unsafe(nil), &default); end
444
-
445
- # This returns a human-readable version of +obj+. By default
446
- # #inspect is called. You can override this to use #pretty_inspect
447
- # if you want.
448
- #
449
- # See Minitest::Test.make_my_diffs_pretty!
450
- #
451
- # source://minitest//lib/minitest/assertions.rb#129
452
- def mu_pp(obj); end
453
-
454
- # This returns a diff-able more human-readable version of +obj+.
455
- # This differs from the regular mu_pp because it expands escaped
456
- # newlines and makes hex-values (like object_ids) generic. This
457
- # uses mu_pp to do the first pass and then cleans it up.
458
- #
459
- # source://minitest//lib/minitest/assertions.rb#152
460
- def mu_pp_for_diff(obj); end
461
-
462
- # used for counting assertions
463
- #
464
- # source://minitest//lib/minitest/assertions.rb#650
465
- def pass(_msg = T.unsafe(nil)); end
466
-
467
- # Fails if +test+ is truthy.
468
- #
469
- # source://minitest//lib/minitest/assertions.rb#657
470
- def refute(test, msg = T.unsafe(nil)); end
471
-
472
- # Fails if +obj+ is empty.
473
- #
474
- # source://minitest//lib/minitest/assertions.rb#665
475
- def refute_empty(obj, msg = T.unsafe(nil)); end
476
-
477
- # Fails if <tt>exp == act</tt>.
478
- #
479
- # For floats use refute_in_delta.
480
- #
481
- # source://minitest//lib/minitest/assertions.rb#676
482
- def refute_equal(exp, act, msg = T.unsafe(nil)); end
483
-
484
- # For comparing Floats. Fails if +exp+ is within +delta+ of +act+.
485
- #
486
- # refute_in_delta Math::PI, (22.0 / 7.0)
487
- #
488
- # source://minitest//lib/minitest/assertions.rb#688
489
- def refute_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
490
-
491
- # For comparing Floats. Fails if +exp+ and +act+ have a relative error
492
- # less than +epsilon+.
493
- #
494
- # source://minitest//lib/minitest/assertions.rb#700
495
- def refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
496
-
497
- # Fails if +collection+ includes +obj+.
498
- #
499
- # source://minitest//lib/minitest/assertions.rb#707
500
- def refute_includes(collection, obj, msg = T.unsafe(nil)); end
501
-
502
- # Fails if +obj+ is an instance of +cls+.
503
- #
504
- # source://minitest//lib/minitest/assertions.rb#718
505
- def refute_instance_of(cls, obj, msg = T.unsafe(nil)); end
506
-
507
- # Fails if +obj+ is a kind of +cls+.
508
- #
509
- # source://minitest//lib/minitest/assertions.rb#728
510
- def refute_kind_of(cls, obj, msg = T.unsafe(nil)); end
511
-
512
- # Fails if +matcher+ <tt>=~</tt> +obj+.
513
- #
514
- # source://minitest//lib/minitest/assertions.rb#736
515
- def refute_match(matcher, obj, msg = T.unsafe(nil)); end
516
-
517
- # Fails if +obj+ is nil.
518
- #
519
- # source://minitest//lib/minitest/assertions.rb#746
520
- def refute_nil(obj, msg = T.unsafe(nil)); end
521
-
522
- # Fails if +o1+ is not +op+ +o2+. Eg:
523
- #
524
- # refute_operator 1, :>, 2 #=> pass
525
- # refute_operator 1, :<, 2 #=> fail
526
- #
527
- # source://minitest//lib/minitest/assertions.rb#781
528
- def refute_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
529
-
530
- # Fails if +path+ exists.
531
- #
532
- # source://minitest//lib/minitest/assertions.rb#790
533
- def refute_path_exists(path, msg = T.unsafe(nil)); end
534
-
535
- # For testing with pattern matching (only supported with Ruby 3.0 and later)
536
- #
537
- # # pass
538
- # refute_pattern { [1,2,3] => [String] }
539
- #
540
- # # fail "NoMatchingPatternError expected, but nothing was raised."
541
- # refute_pattern { [1,2,3] => [Integer, Integer, Integer] }
542
- #
543
- # This assertion expects a NoMatchingPatternError exception, and will fail if none is raised. Any
544
- # other exceptions will be raised as normal and generate a test error.
545
- #
546
- # @raise [NotImplementedError]
547
- #
548
- # source://minitest//lib/minitest/assertions.rb#763
549
- def refute_pattern; end
550
-
551
- # For testing with predicates.
552
- #
553
- # refute_predicate str, :empty?
554
- #
555
- # This is really meant for specs and is front-ended by refute_operator:
556
- #
557
- # str.wont_be :empty?
558
- #
559
- # source://minitest//lib/minitest/assertions.rb#804
560
- def refute_predicate(o1, op, msg = T.unsafe(nil)); end
561
-
562
- # Fails if +obj+ responds to the message +meth+.
563
- # include_all defaults to false to match Object#respond_to?
564
- #
565
- # source://minitest//lib/minitest/assertions.rb#813
566
- def refute_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
567
-
568
- # Fails if +exp+ is the same (by object identity) as +act+.
569
- #
570
- # source://minitest//lib/minitest/assertions.rb#822
571
- def refute_same(exp, act, msg = T.unsafe(nil)); end
572
-
573
- # Skips the current run. If run in verbose-mode, the skipped run
574
- # gets listed at the end of the run but doesn't cause a failure
575
- # exit code.
576
- #
577
- # @raise [Minitest::Skip]
578
- #
579
- # source://minitest//lib/minitest/assertions.rb#835
580
- def skip(msg = T.unsafe(nil), _ignored = T.unsafe(nil)); end
581
-
582
- # Skips the current run until a given date (in the local time
583
- # zone). This allows you to put some fixes on hold until a later
584
- # date, but still holds you accountable and prevents you from
585
- # forgetting it.
586
- #
587
- # source://minitest//lib/minitest/assertions.rb#847
588
- def skip_until(y, m, d, msg); end
589
-
590
- # Was this testcase skipped? Meant for #teardown.
591
- #
592
- # @return [Boolean]
593
- #
594
- # source://minitest//lib/minitest/assertions.rb#856
595
- def skipped?; end
596
-
597
- # Returns things to diff [expect, butwas], or [nil, nil] if nothing to diff.
598
- #
599
- # Criterion:
600
- #
601
- # 1. Strings include newlines or escaped newlines, but not both.
602
- # 2. or: String lengths are > 30 characters.
603
- # 3. or: Strings are equal to each other (but maybe different encodings?).
604
- # 4. and: we found a diff executable.
605
- #
606
- # source://minitest//lib/minitest/assertions.rb#104
607
- def things_to_diff(exp, act); end
608
-
609
- class << self
610
- # Returns the diff command to use in #diff. Tries to intelligently
611
- # figure out what diff to use.
612
- #
613
- # source://minitest//lib/minitest/assertions.rb#29
614
- def diff; end
615
-
616
- # Set the diff command to use in #diff.
617
- #
618
- # source://minitest//lib/minitest/assertions.rb#47
619
- def diff=(o); end
620
- end
621
- end
622
-
623
- # source://minitest//lib/minitest/assertions.rb#206
624
- Minitest::Assertions::E = T.let(T.unsafe(nil), String)
625
-
626
- # source://minitest//lib/minitest/assertions.rb#19
627
- Minitest::Assertions::UNDEFINED = T.let(T.unsafe(nil), Object)
628
-
629
- # The standard backtrace filter for minitest.
630
- #
631
- # See Minitest.backtrace_filter=.
632
- #
633
- # source://minitest//lib/minitest.rb#1096
634
- class Minitest::BacktraceFilter
635
- # @return [BacktraceFilter] a new instance of BacktraceFilter
636
- #
637
- # source://minitest//lib/minitest.rb#1102
638
- def initialize(regexp = T.unsafe(nil)); end
639
-
640
- # Filter +bt+ to something useful. Returns the whole thing if
641
- # $DEBUG (ruby) or $MT_DEBUG (env).
642
- #
643
- # source://minitest//lib/minitest.rb#1110
644
- def filter(bt); end
645
-
646
- # Returns the value of attribute regexp.
647
- #
648
- # source://minitest//lib/minitest.rb#1100
649
- def regexp; end
650
-
651
- # Sets the attribute regexp
652
- #
653
- # @param value the value to set the attribute regexp to.
654
- #
655
- # source://minitest//lib/minitest.rb#1100
656
- def regexp=(_arg0); end
657
- end
658
-
659
- # source://minitest//lib/minitest.rb#1098
660
- Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp)
661
-
662
- # Dispatch to multiple reporters as one.
663
- #
664
- # source://minitest//lib/minitest.rb#902
665
- class Minitest::CompositeReporter < ::Minitest::AbstractReporter
666
- # @return [CompositeReporter] a new instance of CompositeReporter
667
- #
668
- # source://minitest//lib/minitest.rb#906
669
- def initialize(*reporters); end
670
-
671
- # Add another reporter to the mix.
672
- #
673
- # source://minitest//lib/minitest.rb#918
674
- def <<(reporter); end
675
-
676
- # source://minitest//lib/minitest.rb#911
677
- def io; end
678
-
679
- # @return [Boolean]
680
- #
681
- # source://minitest//lib/minitest.rb#922
682
- def passed?; end
683
-
684
- # source://minitest//lib/minitest.rb#930
685
- def prerecord(klass, name); end
686
-
687
- # source://minitest//lib/minitest.rb#937
688
- def record(result); end
689
-
690
- # source://minitest//lib/minitest.rb#943
691
- def report; end
692
-
693
- # The list of reporters to dispatch to.
694
- #
695
- # source://minitest//lib/minitest.rb#904
696
- def reporters; end
697
-
698
- # The list of reporters to dispatch to.
699
- #
700
- # source://minitest//lib/minitest.rb#904
701
- def reporters=(_arg0); end
702
-
703
- # source://minitest//lib/minitest.rb#926
704
- def start; end
705
- end
706
-
707
- # Compresses backtraces.
708
- #
709
- # source://minitest//lib/minitest/compress.rb#5
710
- module Minitest::Compress
711
- # Takes a backtrace (array of strings) and compresses repeating
712
- # cycles in it to make it more readable.
713
- #
714
- # source://minitest//lib/minitest/compress.rb#11
715
- def compress(orig); end
716
- end
717
-
718
- # Provides a simple set of guards that you can use in your tests
719
- # to skip execution if it is not applicable. These methods are
720
- # mixed into Test as both instance and class methods so you
721
- # can use them inside or outside of the test methods.
722
- #
723
- # def test_something_for_mri
724
- # skip "bug 1234" if jruby?
725
- # # ...
726
- # end
727
- #
728
- # if windows? then
729
- # # ... lots of test methods ...
730
- # end
731
- #
732
- # source://minitest//lib/minitest.rb#1040
733
- module Minitest::Guard
734
- # Is this running on jruby?
735
- #
736
- # @return [Boolean]
737
- #
738
- # source://minitest//lib/minitest.rb#1045
739
- def jruby?(platform = T.unsafe(nil)); end
740
-
741
- # Is this running on maglev?
742
- #
743
- # @return [Boolean]
744
- #
745
- # source://minitest//lib/minitest.rb#1052
746
- def maglev?(platform = T.unsafe(nil)); end
747
-
748
- # Is this running on mri?
749
- #
750
- # @return [Boolean]
751
- #
752
- # source://minitest//lib/minitest.rb#1062
753
- def mri?(platform = T.unsafe(nil)); end
754
-
755
- # Is this running on macOS?
756
- #
757
- # @return [Boolean]
758
- #
759
- # source://minitest//lib/minitest.rb#1069
760
- def osx?(platform = T.unsafe(nil)); end
761
-
762
- # Is this running on rubinius?
763
- #
764
- # @return [Boolean]
765
- #
766
- # source://minitest//lib/minitest.rb#1076
767
- def rubinius?(platform = T.unsafe(nil)); end
768
-
769
- # Is this running on windows?
770
- #
771
- # @return [Boolean]
772
- #
773
- # source://minitest//lib/minitest.rb#1086
774
- def windows?(platform = T.unsafe(nil)); end
775
- end
776
-
777
- # source://minitest//lib/minitest/parallel.rb#2
778
- module Minitest::Parallel; end
779
-
780
- # The engine used to run multiple tests in parallel.
781
- #
782
- # source://minitest//lib/minitest/parallel.rb#7
783
- class Minitest::Parallel::Executor
784
- # Create a parallel test executor of with +size+ workers.
785
- #
786
- # @return [Executor] a new instance of Executor
787
- #
788
- # source://minitest//lib/minitest/parallel.rb#17
789
- def initialize(size); end
790
-
791
- # Add a job to the queue
792
- #
793
- # source://minitest//lib/minitest/parallel.rb#43
794
- def <<(work); end
795
-
796
- # Shuts down the pool of workers by signalling them to quit and
797
- # waiting for them all to finish what they're currently working
798
- # on.
799
- #
800
- # source://minitest//lib/minitest/parallel.rb#50
801
- def shutdown; end
802
-
803
- # The size of the pool of workers.
804
- #
805
- # source://minitest//lib/minitest/parallel.rb#12
806
- def size; end
807
-
808
- # Start the executor
809
- #
810
- # source://minitest//lib/minitest/parallel.rb#26
811
- def start; end
812
- end
813
-
814
- # source://minitest//lib/minitest/parallel.rb#56
815
- module Minitest::Parallel::Test
816
- # source://minitest//lib/minitest/parallel.rb#57
817
- def _synchronize; end
818
- end
819
-
820
- # source://minitest//lib/minitest/parallel.rb#59
821
- module Minitest::Parallel::Test::ClassMethods
822
- # source://minitest//lib/minitest/parallel.rb#60
823
- def run_one_method(klass, method_name, reporter); end
824
-
825
- # source://minitest//lib/minitest/parallel.rb#64
826
- def test_order; end
827
- end
828
-
829
- # A very simple reporter that prints the "dots" during the run.
830
- #
831
- # This is added to the top-level CompositeReporter at the start of
832
- # the run. If you want to change the output of minitest via a
833
- # plugin, pull this out of the composite and replace it with your
834
- # own.
835
- #
836
- # source://minitest//lib/minitest.rb#699
837
- class Minitest::ProgressReporter < ::Minitest::Reporter
838
- # source://minitest//lib/minitest.rb#700
839
- def prerecord(klass, name); end
840
-
841
- # source://minitest//lib/minitest.rb#707
842
- def record(result); end
843
- end
844
-
845
- # Shared code for anything that can get passed to a Reporter. See
846
- # Minitest::Test & Minitest::Result.
847
- #
848
- # source://minitest//lib/minitest.rb#521
849
- module Minitest::Reportable
850
- # @raise [NotImplementedError]
851
- #
852
- # source://minitest//lib/minitest.rb#543
853
- def class_name; end
854
-
855
- # Did this run error?
856
- #
857
- # @return [Boolean]
858
- #
859
- # source://minitest//lib/minitest.rb#564
860
- def error?; end
861
-
862
- # The location identifier of this test. Depends on a method
863
- # existing called class_name.
864
- #
865
- # source://minitest//lib/minitest.rb#538
866
- def location; end
867
-
868
- # Did this run pass?
869
- #
870
- # Note: skipped runs are not considered passing, but they don't
871
- # cause the process to exit non-zero.
872
- #
873
- # @return [Boolean]
874
- #
875
- # source://minitest//lib/minitest.rb#528
876
- def passed?; end
877
-
878
- # Returns ".", "F", or "E" based on the result of the run.
879
- #
880
- # source://minitest//lib/minitest.rb#550
881
- def result_code; end
882
-
883
- # Was this run skipped?
884
- #
885
- # @return [Boolean]
886
- #
887
- # source://minitest//lib/minitest.rb#557
888
- def skipped?; end
889
- end
890
-
891
- # source://minitest//lib/minitest.rb#532
892
- Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String)
893
-
894
- # source://minitest//lib/minitest.rb#675
895
- class Minitest::Reporter < ::Minitest::AbstractReporter
896
- # @return [Reporter] a new instance of Reporter
897
- #
898
- # source://minitest//lib/minitest.rb#684
899
- def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
900
-
901
- # The IO used to report.
902
- #
903
- # source://minitest//lib/minitest.rb#677
904
- def io; end
905
-
906
- # The IO used to report.
907
- #
908
- # source://minitest//lib/minitest.rb#677
909
- def io=(_arg0); end
910
-
911
- # Command-line options for this run.
912
- #
913
- # source://minitest//lib/minitest.rb#682
914
- def options; end
915
-
916
- # Command-line options for this run.
917
- #
918
- # source://minitest//lib/minitest.rb#682
919
- def options=(_arg0); end
920
- end
921
-
922
- # This represents a test result in a clean way that can be
923
- # marshalled over a wire. Tests can do anything they want to the
924
- # test instance and can create conditions that cause Marshal.dump to
925
- # blow up. By using Result.from(a_test) you can be reasonably sure
926
- # that the test result can be marshalled.
927
- #
928
- # source://minitest//lib/minitest.rb#576
929
- class Minitest::Result < ::Minitest::Runnable
930
- include ::Minitest::Reportable
931
-
932
- # source://minitest//lib/minitest.rb#610
933
- def class_name; end
934
-
935
- # The class name of the test result.
936
- #
937
- # source://minitest//lib/minitest.rb#585
938
- def klass; end
939
-
940
- # The class name of the test result.
941
- #
942
- # source://minitest//lib/minitest.rb#585
943
- def klass=(_arg0); end
944
-
945
- # The location of the test method.
946
- #
947
- # source://minitest//lib/minitest.rb#590
948
- def source_location; end
949
-
950
- # The location of the test method.
951
- #
952
- # source://minitest//lib/minitest.rb#590
953
- def source_location=(_arg0); end
954
-
955
- # source://minitest//lib/minitest.rb#614
956
- def to_s; end
957
-
958
- class << self
959
- # Create a new test result from a Runnable instance.
960
- #
961
- # source://minitest//lib/minitest.rb#595
962
- def from(runnable); end
963
- end
964
- end
965
-
966
- # re-open
967
- #
968
- # source://minitest//lib/minitest.rb#284
969
- class Minitest::Runnable
970
- # @return [Runnable] a new instance of Runnable
971
- #
972
- # source://minitest//lib/minitest.rb#452
973
- def initialize(name); end
974
-
975
- # Number of assertions executed in this run.
976
- #
977
- # source://minitest//lib/minitest.rb#288
978
- def assertions; end
979
-
980
- # Number of assertions executed in this run.
981
- #
982
- # source://minitest//lib/minitest.rb#288
983
- def assertions=(_arg0); end
984
-
985
- # source://minitest//lib/minitest.rb#448
986
- def failure; end
987
-
988
- # An assertion raised during the run, if any.
989
- #
990
- # source://minitest//lib/minitest.rb#293
991
- def failures; end
992
-
993
- # An assertion raised during the run, if any.
994
- #
995
- # source://minitest//lib/minitest.rb#293
996
- def failures=(_arg0); end
997
-
998
- # source://minitest//lib/minitest.rb#434
999
- def marshal_dump; end
1000
-
1001
- # source://minitest//lib/minitest.rb#444
1002
- def marshal_load(ary); end
1003
-
1004
- # Metadata you attach to the test results that get sent to the reporter.
1005
- #
1006
- # Lazily initializes to a hash, to keep memory down.
1007
- #
1008
- # NOTE: this data *must* be plain (read: marshal-able) data!
1009
- # Hashes! Arrays! Strings!
1010
- #
1011
- # source://minitest//lib/minitest.rb#467
1012
- def metadata; end
1013
-
1014
- # Sets metadata, mainly used for +Result.from+.
1015
- #
1016
- # source://minitest//lib/minitest.rb#474
1017
- def metadata=(_arg0); end
1018
-
1019
- # Returns true if metadata exists.
1020
- #
1021
- # @return [Boolean]
1022
- #
1023
- # source://minitest//lib/minitest.rb#479
1024
- def metadata?; end
1025
-
1026
- # Name of the run.
1027
- #
1028
- # source://minitest//lib/minitest.rb#311
1029
- def name; end
1030
-
1031
- # Set the name of the run.
1032
- #
1033
- # source://minitest//lib/minitest.rb#318
1034
- def name=(o); end
1035
-
1036
- # Did this run pass?
1037
- #
1038
- # Note: skipped runs are not considered passing, but they don't
1039
- # cause the process to exit non-zero.
1040
- #
1041
- # @raise [NotImplementedError]
1042
- # @return [Boolean]
1043
- #
1044
- # source://minitest//lib/minitest.rb#496
1045
- def passed?; end
1046
-
1047
- # Returns a single character string to print based on the result
1048
- # of the run. One of <tt>"."</tt>, <tt>"F"</tt>,
1049
- # <tt>"E"</tt> or <tt>"S"</tt>.
1050
- #
1051
- # @raise [NotImplementedError]
1052
- #
1053
- # source://minitest//lib/minitest.rb#505
1054
- def result_code; end
1055
-
1056
- # Runs a single method. Needs to return self.
1057
- #
1058
- # @raise [NotImplementedError]
1059
- #
1060
- # source://minitest//lib/minitest.rb#486
1061
- def run; end
1062
-
1063
- # Was this run skipped? See #passed? for more information.
1064
- #
1065
- # @raise [NotImplementedError]
1066
- # @return [Boolean]
1067
- #
1068
- # source://minitest//lib/minitest.rb#512
1069
- def skipped?; end
1070
-
1071
- # The time it took to run.
1072
- #
1073
- # source://minitest//lib/minitest.rb#298
1074
- def time; end
1075
-
1076
- # The time it took to run.
1077
- #
1078
- # source://minitest//lib/minitest.rb#298
1079
- def time=(_arg0); end
1080
-
1081
- # source://minitest//lib/minitest.rb#300
1082
- def time_it; end
1083
-
1084
- class << self
1085
- # source://minitest//lib/minitest.rb#1144
1086
- def inherited(klass); end
1087
-
1088
- # Returns all instance methods matching the pattern +re+.
1089
- #
1090
- # source://minitest//lib/minitest.rb#325
1091
- def methods_matching(re); end
1092
-
1093
- # source://minitest//lib/minitest.rb#404
1094
- def on_signal(name, action); end
1095
-
1096
- # source://minitest//lib/minitest.rb#329
1097
- def reset; end
1098
-
1099
- # Responsible for running all runnable methods in a given class,
1100
- # each in its own instance. Each instance is passed to the
1101
- # reporter to record.
1102
- #
1103
- # source://minitest//lib/minitest.rb#340
1104
- def run(reporter, options = T.unsafe(nil)); end
1105
-
1106
- # Runs a single method and has the reporter record the result.
1107
- # This was considered internal API but is factored out of run so
1108
- # that subclasses can specialize the running of an individual
1109
- # test. See Minitest::ParallelTest::ClassMethods for an example.
1110
- #
1111
- # source://minitest//lib/minitest.rb#376
1112
- def run_one_method(klass, method_name, reporter); end
1113
-
1114
- # Each subclass of Runnable is responsible for overriding this
1115
- # method to return all runnable methods. See #methods_matching.
1116
- #
1117
- # @raise [NotImplementedError]
1118
- #
1119
- # source://minitest//lib/minitest.rb#421
1120
- def runnable_methods; end
1121
-
1122
- # Returns all subclasses of Runnable.
1123
- #
1124
- # source://minitest//lib/minitest.rb#428
1125
- def runnables; end
1126
-
1127
- # Defines the order to run tests (:random by default). Override
1128
- # this or use a convenience method to change it for your tests.
1129
- #
1130
- # source://minitest//lib/minitest.rb#385
1131
- def test_order; end
1132
-
1133
- # source://minitest//lib/minitest.rb#389
1134
- def with_info_handler(reporter, &block); end
1135
- end
1136
- end
1137
-
1138
- # source://minitest//lib/minitest.rb#402
1139
- Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash)
1140
-
1141
- # Assertion raised when skipping a run.
1142
- #
1143
- # source://minitest//lib/minitest.rb#980
1144
- class Minitest::Skip < ::Minitest::Assertion
1145
- # source://minitest//lib/minitest.rb#981
1146
- def result_label; end
1147
- end
1148
-
1149
- # A reporter that gathers statistics about a test run. Does not do
1150
- # any IO because meant to be used as a parent class for a reporter
1151
- # that does.
1152
- #
1153
- # If you want to create an entirely different type of output (eg,
1154
- # CI, HTML, etc), this is the place to start.
1155
- #
1156
- # Example:
1157
- #
1158
- # class JenkinsCIReporter < StatisticsReporter
1159
- # def report
1160
- # super # Needed to calculate some statistics
1161
- #
1162
- # print "<testsuite "
1163
- # print "tests='#{count}' "
1164
- # print "failures='#{failures}' "
1165
- # # Remaining XML...
1166
- # end
1167
- # end
1168
- #
1169
- # source://minitest//lib/minitest.rb#737
1170
- class Minitest::StatisticsReporter < ::Minitest::Reporter
1171
- # @return [StatisticsReporter] a new instance of StatisticsReporter
1172
- #
1173
- # source://minitest//lib/minitest.rb#779
1174
- def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
1175
-
1176
- # Total number of assertions.
1177
- #
1178
- # source://minitest//lib/minitest.rb#739
1179
- def assertions; end
1180
-
1181
- # Total number of assertions.
1182
- #
1183
- # source://minitest//lib/minitest.rb#739
1184
- def assertions=(_arg0); end
1185
-
1186
- # Total number of test cases.
1187
- #
1188
- # source://minitest//lib/minitest.rb#744
1189
- def count; end
1190
-
1191
- # Total number of test cases.
1192
- #
1193
- # source://minitest//lib/minitest.rb#744
1194
- def count=(_arg0); end
1195
-
1196
- # Total number of tests that erred.
1197
- #
1198
- # source://minitest//lib/minitest.rb#772
1199
- def errors; end
1200
-
1201
- # Total number of tests that erred.
1202
- #
1203
- # source://minitest//lib/minitest.rb#772
1204
- def errors=(_arg0); end
1205
-
1206
- # Total number of tests that failed.
1207
- #
1208
- # source://minitest//lib/minitest.rb#767
1209
- def failures; end
1210
-
1211
- # Total number of tests that failed.
1212
- #
1213
- # source://minitest//lib/minitest.rb#767
1214
- def failures=(_arg0); end
1215
-
1216
- # @return [Boolean]
1217
- #
1218
- # source://minitest//lib/minitest.rb#792
1219
- def passed?; end
1220
-
1221
- # source://minitest//lib/minitest.rb#800
1222
- def record(result); end
1223
-
1224
- # Report on the tracked statistics.
1225
- #
1226
- # source://minitest//lib/minitest.rb#810
1227
- def report; end
1228
-
1229
- # An +Array+ of test cases that failed or were skipped.
1230
- #
1231
- # source://minitest//lib/minitest.rb#749
1232
- def results; end
1233
-
1234
- # An +Array+ of test cases that failed or were skipped.
1235
- #
1236
- # source://minitest//lib/minitest.rb#749
1237
- def results=(_arg0); end
1238
-
1239
- # Total number of tests that where skipped.
1240
- #
1241
- # source://minitest//lib/minitest.rb#777
1242
- def skips; end
1243
-
1244
- # Total number of tests that where skipped.
1245
- #
1246
- # source://minitest//lib/minitest.rb#777
1247
- def skips=(_arg0); end
1248
-
1249
- # source://minitest//lib/minitest.rb#796
1250
- def start; end
1251
-
1252
- # Time the test run started. If available, the monotonic clock is
1253
- # used and this is a +Float+, otherwise it's an instance of
1254
- # +Time+.
1255
- #
1256
- # source://minitest//lib/minitest.rb#756
1257
- def start_time; end
1258
-
1259
- # Time the test run started. If available, the monotonic clock is
1260
- # used and this is a +Float+, otherwise it's an instance of
1261
- # +Time+.
1262
- #
1263
- # source://minitest//lib/minitest.rb#756
1264
- def start_time=(_arg0); end
1265
-
1266
- # Test run time. If available, the monotonic clock is used and
1267
- # this is a +Float+, otherwise it's an instance of +Time+.
1268
- #
1269
- # source://minitest//lib/minitest.rb#762
1270
- def total_time; end
1271
-
1272
- # Test run time. If available, the monotonic clock is used and
1273
- # this is a +Float+, otherwise it's an instance of +Time+.
1274
- #
1275
- # source://minitest//lib/minitest.rb#762
1276
- def total_time=(_arg0); end
1277
- end
1278
-
1279
- # A reporter that prints the header, summary, and failure details at
1280
- # the end of the run.
1281
- #
1282
- # This is added to the top-level CompositeReporter at the start of
1283
- # the run. If you want to change the output of minitest via a
1284
- # plugin, pull this out of the composite and replace it with your
1285
- # own.
1286
- #
1287
- # source://minitest//lib/minitest.rb#831
1288
- class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
1289
- # source://minitest//lib/minitest.rb#865
1290
- def aggregated_results(io); end
1291
-
1292
- # Returns the value of attribute old_sync.
1293
- #
1294
- # source://minitest//lib/minitest.rb#833
1295
- def old_sync; end
1296
-
1297
- # Sets the attribute old_sync
1298
- #
1299
- # @param value the value to set the attribute old_sync to.
1300
- #
1301
- # source://minitest//lib/minitest.rb#833
1302
- def old_sync=(_arg0); end
1303
-
1304
- # source://minitest//lib/minitest.rb#848
1305
- def report; end
1306
-
1307
- # :startdoc:
1308
- #
1309
- # source://minitest//lib/minitest.rb#836
1310
- def start; end
1311
-
1312
- # source://minitest//lib/minitest.rb#860
1313
- def statistics; end
1314
-
1315
- # source://minitest//lib/minitest.rb#885
1316
- def summary; end
1317
-
1318
- # :stopdoc:
1319
- #
1320
- # source://minitest//lib/minitest.rb#832
1321
- def sync; end
1322
-
1323
- # :stopdoc:
1324
- #
1325
- # source://minitest//lib/minitest.rb#832
1326
- def sync=(_arg0); end
1327
-
1328
- # source://minitest//lib/minitest.rb#881
1329
- def to_s; end
1330
- end
1331
-
1332
- # Subclass Test to create your own tests. Typically you'll want a
1333
- # Test subclass per implementation class.
1334
- #
1335
- # See Minitest::Assertions
1336
- #
1337
- # source://minitest//lib/minitest/test.rb#10
1338
- class Minitest::Test < ::Minitest::Runnable
1339
- include ::Minitest::Assertions
1340
- include ::Minitest::Reportable
1341
- include ::Minitest::Test::LifecycleHooks
1342
- include ::Minitest::Guard
1343
- extend ::Minitest::Guard
1344
-
1345
- # LifecycleHooks
1346
- #
1347
- # source://minitest//lib/minitest/test.rb#190
1348
- def capture_exceptions; end
1349
-
1350
- # source://minitest//lib/minitest/test.rb#15
1351
- def class_name; end
1352
-
1353
- # source://minitest//lib/minitest/test.rb#207
1354
- def neuter_exception(e); end
1355
-
1356
- # source://minitest//lib/minitest/test.rb#218
1357
- def new_exception(klass, msg, bt, kill = T.unsafe(nil)); end
1358
-
1359
- # Runs a single test with setup/teardown hooks.
1360
- #
1361
- # source://minitest//lib/minitest/test.rb#86
1362
- def run; end
1363
-
1364
- # source://minitest//lib/minitest/test.rb#200
1365
- def sanitize_exception(e); end
1366
-
1367
- # source://minitest//lib/minitest/test.rb#232
1368
- def with_info_handler(&block); end
1369
-
1370
- class << self
1371
- # Call this at the top of your tests when you absolutely
1372
- # positively need to have ordered tests. In doing so, you're
1373
- # admitting that you suck and your tests are weak.
1374
- #
1375
- # source://minitest//lib/minitest/test.rb#35
1376
- def i_suck_and_my_tests_are_order_dependent!; end
1377
-
1378
- # Returns the value of attribute io_lock.
1379
- #
1380
- # source://minitest//lib/minitest/test.rb#26
1381
- def io_lock; end
1382
-
1383
- # Sets the attribute io_lock
1384
- #
1385
- # @param value the value to set the attribute io_lock to.
1386
- #
1387
- # source://minitest//lib/minitest/test.rb#26
1388
- def io_lock=(_arg0); end
1389
-
1390
- # Make diffs for this Test use #pretty_inspect so that diff
1391
- # in assert_equal can have more details. NOTE: this is much slower
1392
- # than the regular inspect but much more usable for complex
1393
- # objects.
1394
- #
1395
- # source://minitest//lib/minitest/test.rb#48
1396
- def make_my_diffs_pretty!; end
1397
-
1398
- # Call this at the top of your tests when you want to run your
1399
- # tests in parallel. In doing so, you're admitting that you rule
1400
- # and your tests are awesome.
1401
- #
1402
- # source://minitest//lib/minitest/test.rb#59
1403
- def parallelize_me!; end
1404
-
1405
- # Returns all instance methods starting with "test_". Based on
1406
- # #test_order, the methods are either sorted, randomized
1407
- # (default), or run in parallel.
1408
- #
1409
- # source://minitest//lib/minitest/test.rb#69
1410
- def runnable_methods; end
1411
- end
1412
- end
1413
-
1414
- # Provides before/after hooks for setup and teardown. These are
1415
- # meant for library writers, NOT for regular test authors. See
1416
- # #before_setup for an example.
1417
- #
1418
- # source://minitest//lib/minitest/test.rb#113
1419
- module Minitest::Test::LifecycleHooks
1420
- # Runs before every test, after setup. This hook is meant for
1421
- # libraries to extend minitest. It is not meant to be used by
1422
- # test developers.
1423
- #
1424
- # See #before_setup for an example.
1425
- #
1426
- # source://minitest//lib/minitest/test.rb#163
1427
- def after_setup; end
1428
-
1429
- # Runs after every test, after teardown. This hook is meant for
1430
- # libraries to extend minitest. It is not meant to be used by
1431
- # test developers.
1432
- #
1433
- # See #before_setup for an example.
1434
- #
1435
- # source://minitest//lib/minitest/test.rb#187
1436
- def after_teardown; end
1437
-
1438
- # Runs before every test, before setup. This hook is meant for
1439
- # libraries to extend minitest. It is not meant to be used by
1440
- # test developers.
1441
- #
1442
- # As a simplistic example:
1443
- #
1444
- # module MyMinitestPlugin
1445
- # def before_setup
1446
- # super
1447
- # # ... stuff to do before setup is run
1448
- # end
1449
- #
1450
- # def after_setup
1451
- # # ... stuff to do after setup is run
1452
- # super
1453
- # end
1454
- #
1455
- # def before_teardown
1456
- # super
1457
- # # ... stuff to do before teardown is run
1458
- # end
1459
- #
1460
- # def after_teardown
1461
- # # ... stuff to do after teardown is run
1462
- # super
1463
- # end
1464
- # end
1465
- #
1466
- # class Minitest::Test
1467
- # include MyMinitestPlugin
1468
- # end
1469
- #
1470
- # source://minitest//lib/minitest/test.rb#148
1471
- def before_setup; end
1472
-
1473
- # Runs after every test, before teardown. This hook is meant for
1474
- # libraries to extend minitest. It is not meant to be used by
1475
- # test developers.
1476
- #
1477
- # See #before_setup for an example.
1478
- #
1479
- # source://minitest//lib/minitest/test.rb#172
1480
- def before_teardown; end
1481
-
1482
- # Runs before every test. Use this to set up before each test
1483
- # run.
1484
- #
1485
- # source://minitest//lib/minitest/test.rb#154
1486
- def setup; end
1487
-
1488
- # Runs after every test. Use this to clean up after each test
1489
- # run.
1490
- #
1491
- # source://minitest//lib/minitest/test.rb#178
1492
- def teardown; end
1493
- end
1494
-
1495
- # source://minitest//lib/minitest/test.rb#19
1496
- Minitest::Test::PASSTHROUGH_EXCEPTIONS = T.let(T.unsafe(nil), Array)
1497
-
1498
- # source://minitest//lib/minitest/test.rb#21
1499
- Minitest::Test::SETUP_METHODS = T.let(T.unsafe(nil), Array)
1500
-
1501
- # source://minitest//lib/minitest/test.rb#23
1502
- Minitest::Test::TEARDOWN_METHODS = T.let(T.unsafe(nil), Array)
1503
-
1504
- # Assertion wrapping an unexpected error that was raised during a run.
1505
- #
1506
- # source://minitest//lib/minitest.rb#989
1507
- class Minitest::UnexpectedError < ::Minitest::Assertion
1508
- include ::Minitest::Compress
1509
-
1510
- # @return [UnexpectedError] a new instance of UnexpectedError
1511
- #
1512
- # source://minitest//lib/minitest.rb#995
1513
- def initialize(error); end
1514
-
1515
- # source://minitest//lib/minitest.rb#1008
1516
- def backtrace; end
1517
-
1518
- # TODO: figure out how to use `cause` instead
1519
- #
1520
- # source://minitest//lib/minitest.rb#993
1521
- def error; end
1522
-
1523
- # TODO: figure out how to use `cause` instead
1524
- #
1525
- # source://minitest//lib/minitest.rb#993
1526
- def error=(_arg0); end
1527
-
1528
- # source://minitest//lib/minitest.rb#1014
1529
- def message; end
1530
-
1531
- # source://minitest//lib/minitest.rb#1020
1532
- def result_label; end
1533
- end
1534
-
1535
- # source://minitest//lib/minitest.rb#1012
1536
- Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp)
1537
-
1538
- # source://minitest//lib/minitest.rb#12
1539
- Minitest::VERSION = T.let(T.unsafe(nil), String)