1Module::Install::AuthorUTseesrtsC(o3n)tributed Perl DocuMmoednutlaet:i:oInnstall::AuthorTests(3)
2
3
4
6 Module::Install::AuthorTests - designate tests only run by module
7 authors
8
10 0.002
11
13 This plugin adds the following Module::Install commands:
14
15 author_tests
16 author_tests('xt');
17
18 This declares that the test files found in the directory ./xt should be
19 run only if the module is being built by an author. For an
20 explanation, see below.
21
22 You may declare multiple test directories by passing a list of tests.
23 Since tests are not recursive by default, it should be safe to use a
24 subdirectory of ./t for author tests, like:
25
26 author_tests('t/author');
27
28 recursive_author_tests
29 recursive_author_tests('xt');
30
31 This acts like "author_tests", but will look for tests in directories
32 below ./xt as well as in the directory itself.
33
35 "Is this being run by an author?" is determined internally by
36 Module::Install, but at the time of the writing of this version it's
37 determined by the existence of a directory called .author in ./inc.
38 (On VMS, it's _author.) This directory is created when
39 Module::Install's Makefile.PL is run in a directory where no ./inc
40 directory exists.
41
43 Please report any bugs or feature requests through the web interface at
44 <http://rt.cpan.org>. I will be notified, and then you'll automatically
45 be notified of progress on your bug as I make changes.
46
48 Copyright 2008, Ricardo SIGNES. This program is free software; you
49 can redistribute it and/or modify it under the same terms as Perl
50 itself.
51
52
53
54perl v5.38.0 2023-07-20 Module::Install::AuthorTests(3)