Test::NewVersion - provides a test interface for checking that you are using a new $VERSION
version 0.003
In your distribution's xt/release/new_version.t:
use Test::NewVersion;
all_new_version_ok();
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.
Scans all .pm and <.pod> files in blib or lib, calling new_version_ok()
on each.
Tests against the PAUSE index for all package
and $VERSION
statements found in the provided file.
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
.
Dist::Zilla::Plugin::Test::NewVersion, from which this test module was adapted.
Karen Etheridge <ether@cpan.org>
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.