checkoff 0.223.0 → 0.226.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.
- checksums.yaml +4 -4
- data/checkoff.gemspec +10 -5
- data/lib/checkoff/attachments.rb +1 -1
- data/lib/checkoff/cli.rb +1 -1
- data/lib/checkoff/clients.rb +1 -1
- data/lib/checkoff/custom_fields.rb +1 -1
- data/lib/checkoff/events.rb +1 -1
- data/lib/checkoff/internal/config_loader.rb +2 -3
- data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
- data/lib/checkoff/my_tasks.rb +1 -1
- data/lib/checkoff/portfolios.rb +11 -9
- data/lib/checkoff/projects.rb +1 -1
- data/lib/checkoff/sections.rb +4 -5
- data/lib/checkoff/tags.rb +66 -17
- data/lib/checkoff/tasks.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- data/lib/checkoff/workspaces.rb +1 -1
- data/rbi/checkoff.rbi +4529 -0
- data/sig/checkoff.rbs +3749 -0
- metadata +5 -211
- data/.circleci/config.yml +0 -291
- data/.envrc +0 -9
- data/.git-hooks/pre_commit/circle_ci.rb +0 -26
- data/.git-hooks/pre_commit/punchlist.rb +0 -52
- data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
- data/.gitattributes +0 -6
- data/.gitignore +0 -65
- data/.markdownlint_style.rb +0 -4
- data/.mdlrc +0 -1
- data/.overcommit.yml +0 -115
- data/.rubocop.yml +0 -143
- data/.rubocop_todo.yml +0 -90
- data/.solargraph.yml +0 -35
- data/.yamllint.yml +0 -8
- data/.yardopts +0 -2
- data/CODE_OF_CONDUCT.md +0 -133
- data/CONTRIBUTING.rst +0 -75
- data/DEVELOPMENT.md +0 -69
- data/GLOSSARY.md +0 -16
- data/Gemfile +0 -67
- data/Gemfile.lock +0 -351
- data/LICENSE +0 -21
- data/Makefile +0 -139
- data/bin/brakeman +0 -27
- data/bin/bump +0 -29
- data/bin/checkoff +0 -29
- data/bin/console +0 -15
- data/bin/overcommit +0 -29
- data/bin/overcommit_branch +0 -114
- data/bin/rake +0 -29
- data/bin/rubocop +0 -27
- data/bin/setup +0 -8
- data/bin/solargraph +0 -27
- data/bin/sord +0 -27
- data/bin/spoom +0 -27
- data/bin/srb +0 -27
- data/bin/srb-rbi +0 -27
- data/bin/tapioca +0 -27
- data/bin/yard +0 -27
- data/config/annotations_asana.rb +0 -253
- data/config/annotations_misc.rb +0 -68
- data/config/env.1p +0 -2
- data/docs/.gitignore +0 -3
- data/docs/cookiecutter_input.json +0 -17
- data/docs/example_project.png +0 -0
- data/fix.sh +0 -534
- data/metrics/bigfiles_high_water_mark +0 -1
- data/metrics/brakeman_high_water_mark +0 -1
- data/metrics/bundle-audit_high_water_mark +0 -1
- data/metrics/cane_high_water_mark +0 -1
- data/metrics/eslint_high_water_mark +0 -1
- data/metrics/flake8_high_water_mark +0 -1
- data/metrics/flay_high_water_mark +0 -1
- data/metrics/flog_high_water_mark +0 -1
- data/metrics/jscs_high_water_mark +0 -1
- data/metrics/mdl_high_water_mark +0 -1
- data/metrics/pep8_high_water_mark +0 -1
- data/metrics/punchlist_high_water_mark +0 -1
- data/metrics/pycodestyle_high_water_mark +0 -1
- data/metrics/rails_best_practices_high_water_mark +0 -1
- data/metrics/rubocop_high_water_mark +0 -1
- data/metrics/scalastyle_high_water_mark +0 -1
- data/metrics/shellcheck_high_water_mark +0 -1
- data/package.json +0 -9
- data/rakelib/citest.rake +0 -4
- data/rakelib/clear_metrics.rake +0 -9
- data/rakelib/console.rake +0 -15
- data/rakelib/default.rake +0 -4
- data/rakelib/doc.rake +0 -6
- data/rakelib/gem_tasks.rake +0 -3
- data/rakelib/localtest.rake +0 -4
- data/rakelib/overcommit.rake +0 -6
- data/rakelib/quality.rake +0 -4
- data/rakelib/repl.rake +0 -4
- data/rakelib/test.rake +0 -10
- data/rakelib/trigger_next_builds.rake +0 -7
- data/rakelib/undercover.rake +0 -8
- data/requirements_dev.txt +0 -2
- data/sorbet/config +0 -4
- data/sorbet/rbi/annotations/.gitattributes +0 -1
- data/sorbet/rbi/annotations/activesupport.rbi +0 -453
- data/sorbet/rbi/annotations/faraday.rbi +0 -17
- data/sorbet/rbi/annotations/minitest.rbi +0 -119
- data/sorbet/rbi/annotations/mocha.rbi +0 -34
- data/sorbet/rbi/annotations/rainbow.rbi +0 -269
- data/sorbet/rbi/annotations/webmock.rbi +0 -9
- data/sorbet/rbi/dsl/.gitattributes +0 -1
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
- data/sorbet/rbi/gems/.gitattributes +0 -1
- data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
- data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
- data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
- data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
- data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
- data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
- data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
- data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
- data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
- data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
- data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
- data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
- data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
- data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
- data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
- data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
- data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
- data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
- data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
- data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
- data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
- data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
- data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
- data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
- data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
- data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
- data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
- data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
- data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
- data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
- data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
- data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
- data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
- data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
- data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
- data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
- data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
- data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
- data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
- data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
- data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
- data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
- data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
- data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
- data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
- data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
- data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
- data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
- data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
- data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
- data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
- data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
- data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
- data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
- data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
- data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
- data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
- data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
- data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
- data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
- data/sorbet/rbi/todo.rbi +0 -11
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,1014 +0,0 @@
|
|
1
|
-
# typed: strict
|
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.21.1/lib/minitest.rb#176
|
12
|
-
def __run(reporter, options); end
|
13
|
-
|
14
|
-
# source://minitest/5.21.1/lib/minitest.rb#97
|
15
|
-
def after_run(&block); end
|
16
|
-
|
17
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
18
|
-
def allow_fork; end
|
19
|
-
|
20
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
21
|
-
def allow_fork=(_arg0); end
|
22
|
-
|
23
|
-
# source://minitest/5.21.1/lib/minitest.rb#69
|
24
|
-
def autorun; end
|
25
|
-
|
26
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
27
|
-
def backtrace_filter; end
|
28
|
-
|
29
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
30
|
-
def backtrace_filter=(_arg0); end
|
31
|
-
|
32
|
-
# source://minitest/5.21.1/lib/minitest.rb#18
|
33
|
-
def cattr_accessor(name); end
|
34
|
-
|
35
|
-
# source://minitest/5.21.1/lib/minitest.rb#1134
|
36
|
-
def clock_time; end
|
37
|
-
|
38
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
39
|
-
def extensions; end
|
40
|
-
|
41
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
42
|
-
def extensions=(_arg0); end
|
43
|
-
|
44
|
-
# source://minitest/5.21.1/lib/minitest.rb#271
|
45
|
-
def filter_backtrace(bt); end
|
46
|
-
|
47
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
48
|
-
def info_signal; end
|
49
|
-
|
50
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
51
|
-
def info_signal=(_arg0); end
|
52
|
-
|
53
|
-
# source://minitest/5.21.1/lib/minitest.rb#101
|
54
|
-
def init_plugins(options); end
|
55
|
-
|
56
|
-
# source://minitest/5.21.1/lib/minitest.rb#108
|
57
|
-
def load_plugins; end
|
58
|
-
|
59
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
60
|
-
def parallel_executor; end
|
61
|
-
|
62
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
63
|
-
def parallel_executor=(_arg0); end
|
64
|
-
|
65
|
-
# source://minitest-profile/0.0.2/lib/minitest/profile_plugin.rb#11
|
66
|
-
def plugin_profile_init(options); end
|
67
|
-
|
68
|
-
# source://minitest-profile/0.0.2/lib/minitest/profile_plugin.rb#5
|
69
|
-
def plugin_profile_options(opts, options); end
|
70
|
-
|
71
|
-
# source://minitest/5.21.1/lib/minitest.rb#189
|
72
|
-
def process_args(args = T.unsafe(nil)); end
|
73
|
-
|
74
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
75
|
-
def reporter; end
|
76
|
-
|
77
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
78
|
-
def reporter=(_arg0); end
|
79
|
-
|
80
|
-
# source://minitest/5.21.1/lib/minitest.rb#143
|
81
|
-
def run(args = T.unsafe(nil)); end
|
82
|
-
|
83
|
-
# source://minitest/5.21.1/lib/minitest.rb#1125
|
84
|
-
def run_one_method(klass, method_name); end
|
85
|
-
|
86
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
87
|
-
def seed; end
|
88
|
-
|
89
|
-
# source://minitest/5.21.1/lib/minitest.rb#19
|
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#21
|
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#168
|
552
|
-
def analyze_suite(tests); end
|
553
|
-
|
554
|
-
# source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#181
|
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#158
|
561
|
-
def location(exception); end
|
562
|
-
|
563
|
-
# source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#142
|
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#119
|
570
|
-
def xml_message_for(test); end
|
571
|
-
end
|
572
|
-
|
573
|
-
# source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#17
|
574
|
-
Minitest::Reporters::JUnitReporter::DEFAULT_REPORTS_DIR = T.let(T.unsafe(nil), String)
|
575
|
-
|
576
|
-
# This reporter creates a report providing the average (mean), minimum and
|
577
|
-
# maximum times for a test to run. Running this for all your tests will
|
578
|
-
# allow you to:
|
579
|
-
#
|
580
|
-
# 1) Identify the slowest running tests over time as potential candidates
|
581
|
-
# for improvements or refactoring.
|
582
|
-
# 2) Identify (and fix) regressions in test run speed caused by changes to
|
583
|
-
# your tests or algorithms in your code.
|
584
|
-
# 3) Provide an abundance of statistics to enjoy.
|
585
|
-
#
|
586
|
-
# This is achieved by creating a (configurable) 'previous runs' statistics
|
587
|
-
# file which is parsed at the end of each run to provide a new
|
588
|
-
# (configurable) report. These statistics can be reset at any time by using
|
589
|
-
# a simple rake task:
|
590
|
-
#
|
591
|
-
# rake reset_statistics
|
592
|
-
#
|
593
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#24
|
594
|
-
class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultReporter
|
595
|
-
# @option previous_runs_filename
|
596
|
-
# @option show_count
|
597
|
-
# @option show_progress
|
598
|
-
# @option show_all_runs
|
599
|
-
# @option sort_column
|
600
|
-
# @option order
|
601
|
-
# @option report_filename
|
602
|
-
# @param order [Hash] a customizable set of options
|
603
|
-
# @param previous_runs_filename [Hash] a customizable set of options
|
604
|
-
# @param options [Hash]
|
605
|
-
# @param report_filename [Hash] a customizable set of options
|
606
|
-
# @param show_count [Hash] a customizable set of options
|
607
|
-
# @param show_progress [Hash] a customizable set of options
|
608
|
-
# @param show_all_runs [Hash] a customizable set of options
|
609
|
-
# @param sort_column [Hash] a customizable set of options
|
610
|
-
# @return [Minitest::Reporters::MeanTimeReporter]
|
611
|
-
#
|
612
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#54
|
613
|
-
def initialize(options = T.unsafe(nil)); end
|
614
|
-
|
615
|
-
# Copies the suite times from the
|
616
|
-
# {Minitest::Reporters::DefaultReporter#after_suite} method, making them
|
617
|
-
# available to this class.
|
618
|
-
#
|
619
|
-
# @return [Hash<String => Float>]
|
620
|
-
#
|
621
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#65
|
622
|
-
def after_suite(suite); end
|
623
|
-
|
624
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#90
|
625
|
-
def on_record(test); end
|
626
|
-
|
627
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#94
|
628
|
-
def on_report; end
|
629
|
-
|
630
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#86
|
631
|
-
def on_start; end
|
632
|
-
|
633
|
-
# Runs the {Minitest::Reporters::DefaultReporter#report} method and then
|
634
|
-
# enhances it by storing the results to the 'previous_runs_filename' and
|
635
|
-
# outputs the parsed results to both the 'report_filename' and the
|
636
|
-
# terminal.
|
637
|
-
#
|
638
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#76
|
639
|
-
def report; end
|
640
|
-
|
641
|
-
# Resets the 'previous runs' file, essentially removing all previous
|
642
|
-
# statistics gathered.
|
643
|
-
#
|
644
|
-
# @return [void]
|
645
|
-
#
|
646
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#102
|
647
|
-
def reset_statistics!; end
|
648
|
-
|
649
|
-
protected
|
650
|
-
|
651
|
-
# Returns the value of attribute all_suite_times.
|
652
|
-
#
|
653
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108
|
654
|
-
def all_suite_times; end
|
655
|
-
|
656
|
-
# Sets the attribute all_suite_times
|
657
|
-
#
|
658
|
-
# @param value the value to set the attribute all_suite_times to.
|
659
|
-
#
|
660
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108
|
661
|
-
def all_suite_times=(_arg0); end
|
662
|
-
|
663
|
-
private
|
664
|
-
|
665
|
-
# @return [Boolean] Whether the given :order option is :asc.
|
666
|
-
#
|
667
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#346
|
668
|
-
def asc?; end
|
669
|
-
|
670
|
-
# @return [String] A yellow 'Avg:' label.
|
671
|
-
#
|
672
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#301
|
673
|
-
def avg_label; end
|
674
|
-
|
675
|
-
# @return [Array<Hash<Symbol => String>>] All of the results sorted by
|
676
|
-
# the :sort_column option. (Defaults to :avg).
|
677
|
-
#
|
678
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#172
|
679
|
-
def column_sorted_body; end
|
680
|
-
|
681
|
-
# Creates a new report file in the 'report_filename'. This file contains
|
682
|
-
# a line for each test of the following example format: (this is a single
|
683
|
-
# line despite explicit wrapping)
|
684
|
-
#
|
685
|
-
# Avg: 0.0555555 Min: 0.0498765 Max: 0.0612345 Last: 0.0499421
|
686
|
-
# Description: The test name
|
687
|
-
#
|
688
|
-
# Note however the timings are to 9 decimal places, and padded to 12
|
689
|
-
# characters and each label is coloured, Avg (yellow), Min (green),
|
690
|
-
# Max (red), Last (multi), and Description (blue). It looks pretty!
|
691
|
-
#
|
692
|
-
# The 'Last' label is special in that it will be colour coded depending
|
693
|
-
# on whether the last run was faster (bright green) or slower (bright red)
|
694
|
-
# or inconclusive (purple). This helps to identify changes on a per run
|
695
|
-
# basis.
|
696
|
-
#
|
697
|
-
# @return [void]
|
698
|
-
#
|
699
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#286
|
700
|
-
def create_new_report!; end
|
701
|
-
|
702
|
-
# Creates a new 'previous runs' file, or updates the existing one with
|
703
|
-
# the latest timings.
|
704
|
-
#
|
705
|
-
# @return [void]
|
706
|
-
#
|
707
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#248
|
708
|
-
def create_or_update_previous_runs!; end
|
709
|
-
|
710
|
-
# @return [Hash<String => Float>]
|
711
|
-
#
|
712
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#113
|
713
|
-
def current_run; end
|
714
|
-
|
715
|
-
# @return [Hash] Sets default values for the filenames used by this class,
|
716
|
-
# and the number of tests to output to output to the screen after each
|
717
|
-
# run.
|
718
|
-
#
|
719
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#120
|
720
|
-
def defaults; end
|
721
|
-
|
722
|
-
# @return [String] A blue 'Description:' label.
|
723
|
-
#
|
724
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#306
|
725
|
-
def des_label; end
|
726
|
-
|
727
|
-
# @return [Boolean] Whether the given :order option is :desc (default).
|
728
|
-
#
|
729
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#351
|
730
|
-
def desc?; end
|
731
|
-
|
732
|
-
# @return [String] A red 'Max:' label.
|
733
|
-
#
|
734
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#311
|
735
|
-
def max_label; end
|
736
|
-
|
737
|
-
# @return [String] A green 'Min:' label.
|
738
|
-
#
|
739
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#316
|
740
|
-
def min_label; end
|
741
|
-
|
742
|
-
# @return [Hash]
|
743
|
-
#
|
744
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#189
|
745
|
-
def options; end
|
746
|
-
|
747
|
-
# @raise [Minitest::Reporters::MeanTimeReporter::InvalidOrder] When the given :order option is invalid.
|
748
|
-
# @return [Symbol] The :order option, or by default; :desc.
|
749
|
-
#
|
750
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#358
|
751
|
-
def order; end
|
752
|
-
|
753
|
-
# @return [String] All of the column-sorted results sorted by the :order
|
754
|
-
# option. (Defaults to :desc).
|
755
|
-
#
|
756
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#160
|
757
|
-
def order_sorted_body; end
|
758
|
-
|
759
|
-
# @return [Hash<String => Array<Float>]] Hash<String => Array<Float>]
|
760
|
-
#
|
761
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#200
|
762
|
-
def previous_run; end
|
763
|
-
|
764
|
-
# @return [String] The path to the file which contains all the durations
|
765
|
-
# for each test run. The previous runs file is in YAML format, using the
|
766
|
-
# test name for the key and an array containing the time taken to run
|
767
|
-
# this test for values.
|
768
|
-
#
|
769
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#208
|
770
|
-
def previous_runs_filename; end
|
771
|
-
|
772
|
-
# Returns a boolean indicating whether a previous runs file exists.
|
773
|
-
#
|
774
|
-
# @return [Boolean]
|
775
|
-
#
|
776
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#215
|
777
|
-
def previously_ran?; end
|
778
|
-
|
779
|
-
# @param run [Float] The last run time.
|
780
|
-
# @param min [Float] The minimum run time.
|
781
|
-
# @param max [Float] The maximum run time.
|
782
|
-
# @return [Symbol] One of :faster, :slower or :inconclusive.
|
783
|
-
#
|
784
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#335
|
785
|
-
def rate(run, min, max); end
|
786
|
-
|
787
|
-
# The report itself. Displays statistics about all runs, ideal for use
|
788
|
-
# with the Unix 'head' command. Listed in slowest average descending
|
789
|
-
# order.
|
790
|
-
#
|
791
|
-
# @return [String]
|
792
|
-
#
|
793
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#146
|
794
|
-
def report_body; end
|
795
|
-
|
796
|
-
# @return [String] The path to the file which contains the parsed test
|
797
|
-
# results. The results file contains a line for each test with the
|
798
|
-
# average time of the test, the minimum time the test took to run,
|
799
|
-
# the maximum time the test took to run and a description of the test
|
800
|
-
# (which is the test name as emitted by Minitest).
|
801
|
-
#
|
802
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#224
|
803
|
-
def report_filename; end
|
804
|
-
|
805
|
-
# Added to the top of the report file and to the screen output.
|
806
|
-
#
|
807
|
-
# @return [String]
|
808
|
-
#
|
809
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#135
|
810
|
-
def report_title; end
|
811
|
-
|
812
|
-
# @param rating [Symbol] One of :faster, :slower or :inconclusive.
|
813
|
-
# @return [String] A purple 'Last:' label.
|
814
|
-
#
|
815
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#322
|
816
|
-
def run_label(rating); end
|
817
|
-
|
818
|
-
# A barbaric way to find out how many runs are in the previous runs file;
|
819
|
-
# this method takes the first test listed, and counts its samples
|
820
|
-
# trusting (naively) all runs to be the same number of samples. This will
|
821
|
-
# produce incorrect averages when new tests are added, so it is advised
|
822
|
-
# to restart the statistics by removing the 'previous runs' file. A rake
|
823
|
-
# task is provided to make this more convenient.
|
824
|
-
#
|
825
|
-
# rake reset_statistics
|
826
|
-
#
|
827
|
-
# @return [Fixnum]
|
828
|
-
#
|
829
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#238
|
830
|
-
def samples; end
|
831
|
-
|
832
|
-
# @return [Fixnum] The number of tests to output to output to the screen
|
833
|
-
# after each run.
|
834
|
-
#
|
835
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#195
|
836
|
-
def show_count; end
|
837
|
-
|
838
|
-
# @raise [Minitest::Reporters::MeanTimeReporter::InvalidSortColumn] When the given :sort_column option is invalid.
|
839
|
-
# @return [Symbol] The :sort_column option, or by default; :avg.
|
840
|
-
#
|
841
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#374
|
842
|
-
def sort_column; end
|
843
|
-
|
844
|
-
# Writes a number of tests (configured via the 'show_count' option) to the
|
845
|
-
# screen after creating the report. See '#create_new_report!' for example
|
846
|
-
# output information.
|
847
|
-
#
|
848
|
-
# @return [void]
|
849
|
-
#
|
850
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#295
|
851
|
-
def write_to_screen!; end
|
852
|
-
|
853
|
-
class << self
|
854
|
-
# Reset the statistics file for this reporter. Called via a rake task:
|
855
|
-
#
|
856
|
-
# rake reset_statistics
|
857
|
-
#
|
858
|
-
# @return [Boolean]
|
859
|
-
#
|
860
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#33
|
861
|
-
def reset_statistics!; end
|
862
|
-
end
|
863
|
-
end
|
864
|
-
|
865
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#25
|
866
|
-
class Minitest::Reporters::MeanTimeReporter::InvalidOrder < ::StandardError; end
|
867
|
-
|
868
|
-
# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#26
|
869
|
-
class Minitest::Reporters::MeanTimeReporter::InvalidSortColumn < ::StandardError; end
|
870
|
-
|
871
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#12
|
872
|
-
class Minitest::Reporters::ProgressReporter < ::Minitest::Reporters::BaseReporter
|
873
|
-
include ::Minitest::RelativePosition
|
874
|
-
include ::ANSI::Constants
|
875
|
-
include ::ANSI::Code
|
876
|
-
include ::Minitest::Reporters::ANSI::Code
|
877
|
-
|
878
|
-
# @return [ProgressReporter] a new instance of ProgressReporter
|
879
|
-
#
|
880
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#18
|
881
|
-
def initialize(options = T.unsafe(nil)); end
|
882
|
-
|
883
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#41
|
884
|
-
def before_test(test); end
|
885
|
-
|
886
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#49
|
887
|
-
def record(test); end
|
888
|
-
|
889
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#70
|
890
|
-
def report; end
|
891
|
-
|
892
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#32
|
893
|
-
def start; end
|
894
|
-
|
895
|
-
private
|
896
|
-
|
897
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#93
|
898
|
-
def color; end
|
899
|
-
|
900
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#97
|
901
|
-
def color=(color); end
|
902
|
-
|
903
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#89
|
904
|
-
def print_test_with_time(test); end
|
905
|
-
|
906
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#85
|
907
|
-
def show; end
|
908
|
-
end
|
909
|
-
|
910
|
-
# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#16
|
911
|
-
Minitest::Reporters::ProgressReporter::PROGRESS_MARK = T.let(T.unsafe(nil), String)
|
912
|
-
|
913
|
-
# Simple reporter designed for RubyMate.
|
914
|
-
#
|
915
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#4
|
916
|
-
class Minitest::Reporters::RubyMateReporter < ::Minitest::Reporters::BaseReporter
|
917
|
-
include ::Minitest::RelativePosition
|
918
|
-
|
919
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#15
|
920
|
-
def record(test); end
|
921
|
-
|
922
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#37
|
923
|
-
def report; end
|
924
|
-
|
925
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#9
|
926
|
-
def start; end
|
927
|
-
|
928
|
-
private
|
929
|
-
|
930
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#49
|
931
|
-
def print_test_with_time(test); end
|
932
|
-
end
|
933
|
-
|
934
|
-
# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#7
|
935
|
-
Minitest::Reporters::RubyMateReporter::INFO_PADDING = T.let(T.unsafe(nil), Integer)
|
936
|
-
|
937
|
-
# source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#15
|
938
|
-
class Minitest::Reporters::RubyMineReporter < ::Minitest::Reporters::DefaultReporter
|
939
|
-
# source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#16
|
940
|
-
def initialize(options = T.unsafe(nil)); end
|
941
|
-
end
|
942
|
-
|
943
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#9
|
944
|
-
class Minitest::Reporters::SpecReporter < ::Minitest::Reporters::BaseReporter
|
945
|
-
include ::ANSI::Constants
|
946
|
-
include ::ANSI::Code
|
947
|
-
include ::Minitest::Reporters::ANSI::Code
|
948
|
-
include ::Minitest::RelativePosition
|
949
|
-
|
950
|
-
# The constructor takes an `options` hash
|
951
|
-
#
|
952
|
-
# @option options
|
953
|
-
# @param options [Hash]
|
954
|
-
# @return [SpecReporter] a new instance of SpecReporter
|
955
|
-
#
|
956
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#18
|
957
|
-
def initialize(options = T.unsafe(nil)); end
|
958
|
-
|
959
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#50
|
960
|
-
def record(test); end
|
961
|
-
|
962
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#29
|
963
|
-
def report; end
|
964
|
-
|
965
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#23
|
966
|
-
def start; end
|
967
|
-
|
968
|
-
protected
|
969
|
-
|
970
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#62
|
971
|
-
def after_suite(_suite); end
|
972
|
-
|
973
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#58
|
974
|
-
def before_suite(suite); end
|
975
|
-
|
976
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#66
|
977
|
-
def print_failure(name, tests); end
|
978
|
-
|
979
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#76
|
980
|
-
def record_print_failures_if_any(test); end
|
981
|
-
|
982
|
-
# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#83
|
983
|
-
def record_print_status(test); end
|
984
|
-
end
|
985
|
-
|
986
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#3
|
987
|
-
class Minitest::Reporters::Suite
|
988
|
-
# @return [Suite] a new instance of Suite
|
989
|
-
#
|
990
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#5
|
991
|
-
def initialize(name); end
|
992
|
-
|
993
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#9
|
994
|
-
def ==(other); end
|
995
|
-
|
996
|
-
# @return [Boolean]
|
997
|
-
#
|
998
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#13
|
999
|
-
def eql?(other); end
|
1000
|
-
|
1001
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#17
|
1002
|
-
def hash; end
|
1003
|
-
|
1004
|
-
# Returns the value of attribute name.
|
1005
|
-
#
|
1006
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#4
|
1007
|
-
def name; end
|
1008
|
-
|
1009
|
-
# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#21
|
1010
|
-
def to_s; end
|
1011
|
-
end
|
1012
|
-
|
1013
|
-
# source://minitest-reporters//lib/minitest/reporters/version.rb#3
|
1014
|
-
Minitest::Reporters::VERSION = T.let(T.unsafe(nil), String)
|