1App::Yath::Options::RunU(s3e)r Contributed Perl DocumentaAtpipo:n:Yath::Options::Run(3)
2
3
4

NAME

6       App::Yath::Options::Run - Run options for Yath.
7

DESCRIPTION

9       This is where command lines options for a single test run are defined.
10

PROVIDED OPTIONS

12   COMMAND OPTIONS
13       Run Options
14
15       --author-testing
16       -A
17       --no-author-testing
18           This will set the AUTHOR_TESTING environment to true
19
20       --env-var VAR=VAL
21       -EVAR=VAL
22       -E VAR=VAL
23       --no-env-var
24           Set environment variables to set when each test is run.
25
26           Can be specified multiple times
27
28       --event-uuids
29       --uuids
30       --no-event-uuids
31           Use Test2::Plugin::UUID inside tests (default: on)
32
33       --fields name:details
34       --fields JSON_STRING
35       -f name:details
36       -f JSON_STRING
37       --no-fields
38           Add custom data to the harness run
39
40           Can be specified multiple times
41
42       --input ARG
43       --input=ARG
44       --no-input
45           Input string to be used as standard input for ALL tests. See also:
46           --input-file
47
48       --input-file ARG
49       --input-file=ARG
50       --no-input-file
51           Use the specified file as standard input to ALL tests
52
53       --io-events
54       --no-io-events
55           Use Test2::Plugin::IOEvents inside tests to turn all prints into
56           test2 events (default: off)
57
58       --link 'https://travis.work/builds/42'
59       --link 'https://jenkins.work/job/42'
60       --link 'https://buildbot.work/builders/foo/builds/42'
61       --no-link
62           Provide one or more links people can follow to see more about this
63           run.
64
65           Can be specified multiple times
66
67       --load ARG
68       --load=ARG
69       --load-module ARG
70       --load-module=ARG
71       -m ARG
72       -m=ARG
73       --no-load
74           Load a module in each test (after fork). The "import" method is not
75           called.
76
77           Can be specified multiple times
78
79       --load-import Module
80       --load-import Module=import_arg1,arg2,...
81       --loadim Module
82       --loadim Module=import_arg1,arg2,...
83       -M Module
84       -M Module=import_arg1,arg2,...
85       --no-load-import
86           Load a module in each test (after fork). Import is called.
87
88           Can be specified multiple times. If the same key is listed multiple
89           times the value lists will be appended together.
90
91       --mem-usage
92       --no-mem-usage
93           Use Test2::Plugin::MemUsage inside tests (default: on)
94
95       --retry ARG
96       --retry=ARG
97       -r ARG
98       -r=ARG
99       --no-retry
100           Run any jobs that failed a second time. NOTE: --retry=1 means
101           failing tests will be attempted twice!
102
103       --retry-isolated
104       --retry-iso
105       --no-retry-isolated
106           If true then any job retries will be done in isolation (as though
107           -j1 was set)
108
109       --run-id
110       --id
111       --no-run-id
112           Set a specific run-id. (Default: a UUID)
113
114       --test-args ARG
115       --test-args=ARG
116       --no-test-args
117           Arguments to pass in as @ARGV for all tests that are run. These can
118           be provided easier using the '::' argument separator.
119
120           Can be specified multiple times
121
122       --stream
123       --no-stream
124           Use the stream formatter (default is on)
125
126       --tap
127       --TAP
128       ----no-stream
129       --no-tap
130           The TAP format is lossy and clunky. Test2::Harness normally uses a
131           newer streaming format to receive test results. There are
132           old/legacy tests where this causes problems, in which case setting
133           --TAP or --no-stream can help.
134

SOURCE

136       The source code repository for Test2-Harness can be found at
137       http://github.com/Test-More/Test2-Harness/.
138

MAINTAINERS

140       Chad Granum <exodist@cpan.org>
141

AUTHORS

143       Chad Granum <exodist@cpan.org>
144
146       Copyright 2020 Chad Granum <exodist7@gmail.com>.
147
148       This program is free software; you can redistribute it and/or modify it
149       under the same terms as Perl itself.
150
151       See http://dev.perl.org/licenses/
152
153
154
155perl v5.32.0                      2020-07-28        App::Yath::Options::Run(3)
Impressum