- SEE ALSO
- COPYRIGHT AND LICENSE
Test::NewVersion - provides a test interface for checking that you are using a new $VERSION
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
$VERSION statements found in the provided file.
Dist::Zilla::Plugin::Test::NewVersion, from which this test module was adapted.
Karen Etheridge <email@example.com>
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.