1App::Yath::Options::FinUdseerr(3C)ontributed Perl DocumeAnptpa:t:iYoanth::Options::Finder(3)
2
3
4

NAME

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

DESCRIPTION

9       This is where the command line options for discovering test files are
10       defined.
11

PROVIDED OPTIONS

13   YATH OPTIONS (PRE-COMMAND)
14       Finder Options
15
16       --finder MyFinder
17       --finder +Test2::Harness::Finder::MyFinder
18       --no-finder
19           Specify what Finder subclass to use when searching for
20           files/processing the file list. Use the "+" prefix to specify a
21           fully qualified namespace, otherwise Test2::Harness::Finder::XXX
22           namespace is assumed.
23
24   COMMAND OPTIONS
25       Finder Options
26
27       --default-at-search ARG
28       --default-at-search=ARG
29       --no-default-at-search
30           Specify the default file/dir search when 'AUTHOR_TESTING' is set.
31           Defaults to './xt'. The default AT search is only used if no files
32           were specified at the command line
33
34           Can be specified multiple times
35
36       --default-search ARG
37       --default-search=ARG
38       --no-default-search
39           Specify the default file/dir search. defaults to './t', './t2', and
40           'test.pl'. The default search is only used if no files were
41           specified at the command line
42
43           Can be specified multiple times
44
45       --durations file.json
46       --durations http://example.com/durations.json
47       --no-durations
48           Point at a json file or url which has a hash of relative test
49           filenames as keys, and 'SHORT', 'MEDIUM', or 'LONG' as values. This
50           will override durations listed in the file headers. An exception
51           will be thrown if the durations file or url does not work.
52
53       --exclude-file t/nope.t
54       --no-exclude-file
55           Exclude a file from testing
56
57           Can be specified multiple times
58
59       --exclude-list file.txt
60       --exclude-list http://example.com/exclusions.txt
61       --no-exclude-list
62           Point at a file or url which has a new line separated list of test
63           file names to exclude from testing. Starting a line with a '#' will
64           comment it out (for compatibility with Test2::Aggregate list
65           files).
66
67           Can be specified multiple times
68
69       --exclude-pattern t/nope.t
70       --no-exclude-pattern
71           Exclude a pattern from testing, matched using m/$PATTERN/
72
73           Can be specified multiple times
74
75       --extension ARG
76       --extension=ARG
77       --ext ARG
78       --ext=ARG
79       --no-extension
80           Specify valid test filename extensions, default: t and t2
81
82           Can be specified multiple times
83
84       --maybe-durations file.json
85       --maybe-durations http://example.com/durations.json
86       --no-maybe-durations
87           Point at a json file or url which has a hash of relative test
88           filenames as keys, and 'SHORT', 'MEDIUM', or 'LONG' as values. This
89           will override durations listed in the file headers. An exception
90           will be thrown if the durations file or url does not work.
91
92       --no-long
93       --no-no-long
94           Do not run tests that have their duration flag set to 'LONG'
95
96       --only-long
97       --no-only-long
98           Only run tests that have their duration flag set to 'LONG'
99
100       --search ARG
101       --search=ARG
102       --no-search
103           List of tests and test directories to use instead of the default
104           search paths. Typically these can simply be listed as command line
105           arguments without the --search prefix.
106
107           Can be specified multiple times
108

SOURCE

110       The source code repository for Test2-Harness can be found at
111       http://github.com/Test-More/Test2-Harness/.
112

MAINTAINERS

114       Chad Granum <exodist@cpan.org>
115

AUTHORS

117       Chad Granum <exodist@cpan.org>
118
120       Copyright 2020 Chad Granum <exodist7@gmail.com>.
121
122       This program is free software; you can redistribute it and/or modify it
123       under the same terms as Perl itself.
124
125       See http://dev.perl.org/licenses/
126
127
128
129perl v5.32.0                      2020-07-28     App::Yath::Options::Finder(3)
Impressum