GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test::CPAN::Changes(3) User Contributed Perl Documentation Test::CPAN::Changes(3)

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

  # in xt/author/cpan-changes.t
  use Test::More;
  use Test::CPAN::Changes;
  changes_ok;
  # checking for specific version
  use My::Module;
  use Test::More;
  use Test::CPAN::Changes;
  changes_ok({ version => My::Module->VERSION });

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

Simple wrapper around "changes_file_ok". Declares a test plan, and uses the default filename of "Changes".

Checks the contents of the changes file against the specification. No plan is declared and if the filename is undefined, "Changes" is used.

Four tests are performed. The file must be parsable, must have releases in it, and the versions and dates listed must be valid.

%arg may include a version entry, in which case two additional tests are performed. The entry for that version must exist and have content. This is useful to ensure that the version currently being released has documented changes.

  • CPAN::Changes::Spec
  • CPAN::Changes

See CPAN::Changes for authors.

See CPAN::Changes for the copyright and license.

2025-04-17 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.