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