1Test::CPAN::Changes(3)User Contributed Perl DocumentationTest::CPAN::Changes(3)
2
3
4
6 Test::CPAN::Changes - Validation of the Changes file in a CPAN
7 distribution
8
10 use Test::More;
11 eval 'use Test::CPAN::Changes';
12 plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
13 changes_ok();
14
16 This module allows CPAN authors to write automated tests to ensure
17 their changelogs match the specification.
18
20 changes_ok( )
21 Simple wrapper around "changes_file_ok". Declares a four test plan, and
22 uses the default filename of "Changes".
23
24 changes_file_ok( $filename, \%arg )
25 Checks the contents of the changes file against the specification. No
26 plan is declared and if the filename is undefined, "Changes" is used.
27
28 %arg may include a version entry, in which case the entry for that
29 version must exist and have content. This is useful to ensure that the
30 version currently being released has documented changes.
31
33 · CPAN::Changes::Spec
34
35 · CPAN::Changes
36
38 Brian Cassidy <bricas@cpan.org>
39
41 Copyright 2011-2013 by Brian Cassidy
42
43 This library is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46
47
48perl v5.30.0 2019-08-23 Test::CPAN::Changes(3)