1Test::CPAN::Changes(3)User Contributed Perl DocumentationTest::CPAN::Changes(3)
2
3
4

NAME

6       Test::CPAN::Changes - Validation of the Changes file in a CPAN
7       distribution
8

SYNOPSIS

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

DESCRIPTION

16       This module allows CPAN authors to write automated tests to ensure
17       their changelogs match the specification.
18

METHODS

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

SEE ALSO

33       ·   CPAN::Changes::Spec
34
35       ·   CPAN::Changes
36

AUTHOR

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.16.3                      2013-05-02            Test::CPAN::Changes(3)
Impressum