NAME
Test::NewVersion - provides a test interface for checking that you are using a new $VERSION
VERSION
version 0.003
SYNOPSIS
In your distribution's xt/release/new_version.t:
use Test::NewVersion;
all_new_version_ok();
DESCRIPTION
This module provides interfaces that check the PAUSE index for latest $VERSION
of each module, to confirm that the version number(s) has been/have been incremented.
This is helpful when you are managing your distribution's version manually, where you might forget to increment the version before release.
It is permitted for a module to have no version number at all, but if it is set, it must have been incremented from the previous value, as otherwise this case would be indistinguishable from developer error (forgetting to increment the version), which is what we're testing for.
FUNCTIONS
all_new_version_ok()
Scans all .pm and <.pod> files in blib or lib, calling new_version_ok()
on each.
new_version_ok($filename)
Tests against the PAUSE index for all package
and $VERSION
statements found in the provided file.
SUPPORT
Bugs may be submitted through the RT bug tracker (or bug-Test-NewVersion@rt.cpan.org). I am also usually active on irc, as 'ether' at irc.perl.org
.
SEE ALSO
Dist::Zilla::Plugin::Test::NewVersion, from which this test module was adapted.
AUTHOR
Karen Etheridge <ether@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.