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

SOURCE

146       The source code repository for Test2-Harness can be found at
147       http://github.com/Test-More/Test2-Harness/.
148

MAINTAINERS

150       Chad Granum <exodist@cpan.org>
151

AUTHORS

153       Chad Granum <exodist@cpan.org>
154
156       Copyright 2020 Chad Granum <exodist7@gmail.com>.
157
158       This program is free software; you can redistribute it and/or modify it
159       under the same terms as Perl itself.
160
161       See http://dev.perl.org/licenses/
162
163
164
165perl v5.32.1                      2021-03-12        App::Yath::Options::Run(3)
Impressum