1App::Yath::Command::timUesse(r3)Contributed Perl DocumenAtpapt:i:oYnath::Command::times(3)
2
3
4
6 App::Yath::Command::times - Get times from a test log
7
9 This command will consume the log of a previous run, and output all
10 timing data from shortest test to longest. You can specify a sort order
11 by listing fields in your desired order after the log file on the
12 command line.
13
15 $ yath [YATH OPTIONS] times [COMMAND OPTIONS]
16
17 YATH OPTIONS
18 Developer
19
20 --dev-lib
21 --dev-lib=lib
22 -D
23 -D=lib
24 -Dlib
25 --no-dev-lib
26 Add paths to @INC before loading ANYTHING. This is what you use if
27 you are developing yath or yath plugins to make sure the yath
28 script finds the local code instead of the installed versions of
29 the same code. You can provide an argument (-Dfoo) to provide a
30 custom path, or you can just use -D without and arg to add lib,
31 blib/lib and blib/arch.
32
33 Can be specified multiple times
34
35 Environment
36
37 --persist-dir ARG
38 --persist-dir=ARG
39 --no-persist-dir
40 Where to find persistence files.
41
42 --persist-file ARG
43 --persist-file=ARG
44 --pfile ARG
45 --pfile=ARG
46 --no-persist-file
47 Where to find the persistence file. The default is
48 /{system-tempdir}/project-yath-persist.json. If no project is
49 specified then it will fall back to the current directory. If the
50 current directory is not writable it will default to
51 /tmp/yath-persist.json which limits you to one persistent runner on
52 your system.
53
54 --project ARG
55 --project=ARG
56 --project-name ARG
57 --project-name=ARG
58 --no-project
59 This lets you provide a label for your current project/codebase.
60 This is best used in a .yath.rc file. This is necessary for a
61 persistent runner.
62
63 Help and Debugging
64
65 --show-opts
66 --no-show-opts
67 Exit after showing what yath thinks your options mean
68
69 --version
70 -V
71 --no-version
72 Exit after showing a helpful usage message
73
74 Plugins
75
76 --no-scan-plugins
77 --no-no-scan-plugins
78 Normally yath scans for and loads all App::Yath::Plugin::* modules
79 in order to bring in command-line options they may provide. This
80 flag will disable that. This is useful if you have a naughty plugin
81 that it loading other modules when it should not.
82
83 --plugins PLUGIN
84 --plugins +App::Yath::Plugin::PLUGIN
85 --plugins PLUGIN=arg1,arg2,...
86 --plugin PLUGIN
87 --plugin +App::Yath::Plugin::PLUGIN
88 --plugin PLUGIN=arg1,arg2,...
89 -pPLUGIN
90 --no-plugins
91 Load a yath plugin.
92
93 Can be specified multiple times
94
95 COMMAND OPTIONS
96 Help and Debugging
97
98 --dummy
99 -d
100 --no-dummy
101 Dummy run, do not actually execute anything
102
103 Can also be set with the following environment variables:
104 "T2_HARNESS_DUMMY"
105
106 --help
107 -h
108 --no-help
109 exit after showing help information
110
111 --keep-dirs
112 --keep_dir
113 -k
114 --no-keep-dirs
115 Do not delete directories when done. This is useful if you want to
116 inspect the directories used for various commands.
117
118 YathUI Options
119
120 --yathui-api-key ARG
121 --yathui-api-key=ARG
122 --no-yathui-api-key
123 Yath-UI API key. This is not necessary if your Yath-UI instance is
124 set to single-user
125
126 --yathui-grace
127 --no-yathui-grace
128 If yath cannot connect to yath-ui it normally throws an error, use
129 this to make it fail gracefully. You get a warning, but things keep
130 going.
131
132 --yathui-long-duration 10
133 --no-yathui-long-duration
134 Minimum duration length (seconds) before a test goes from MEDIUM to
135 LONG
136
137 --yathui-medium-duration 5
138 --no-yathui-medium-duration
139 Minimum duration length (seconds) before a test goes from SHORT to
140 MEDIUM
141
142 --yathui-mode summary
143 --yathui-mode qvf
144 --yathui-mode qvfd
145 --yathui-mode complete
146 --no-yathui-mode
147 Set the upload mode (default 'qvfd')
148
149 --yathui-project ARG
150 --yathui-project=ARG
151 --no-yathui-project
152 The Yath-UI project for your test results
153
154 --yathui-retry
155 --no-yathui-retry
156 How many times to try an operation before giving up
157
158 Can be specified multiple times
159
160 --yathui-url http://my-yath-ui.com/...
161 --uri http://my-yath-ui.com/...
162 --no-yathui-url
163 Yath-UI url
164
166 The source code repository for Test2-Harness can be found at
167 http://github.com/Test-More/Test2-Harness/.
168
170 Chad Granum <exodist@cpan.org>
171
173 Chad Granum <exodist@cpan.org>
174
176 Copyright 2020 Chad Granum <exodist7@gmail.com>.
177
178 This program is free software; you can redistribute it and/or modify it
179 under the same terms as Perl itself.
180
181 See http://dev.perl.org/licenses/
182
183
184
185perl v5.32.0 2020-07-28 App::Yath::Command::times(3)