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

SOURCE

140       The source code repository for Test2-Harness can be found at
141       http://github.com/Test-More/Test2-Harness/.
142

MAINTAINERS

144       Chad Granum <exodist@cpan.org>
145

AUTHORS

147       Chad Granum <exodist@cpan.org>
148
150       Copyright 2020 Chad Granum <exodist7@gmail.com>.
151
152       This program is free software; you can redistribute it and/or modify it
153       under the same terms as Perl itself.
154
155       See http://dev.perl.org/licenses/
156
157
158
159perl v5.36.1                      2023-10-04        App::Yath::Options::Run(3)
Impressum