Test::CPAN::Changes::ReallyStrict - Ensure a Changes file looks exactly like it would if it was machine generated.
version 0.2.0
use Test::More; eval 'use Test::CPAN::Changes::ReallyStrict'; plan skip_all => 'Test::CPAN::Changes::ReallyStrict required for this test' if $@; changes_ok(); done_testing();
This module is for people who want their Changes file to be 1:1 Identical to how it would be if they'd generated it programmatically with CPAN::Changes.
This is not for the faint of heart, and will whine about even minor changes of white-space.
You are also at upstream's mercy as to what a changes file looks like, and in order to keep this test happy, you'll have to update your whole changes file if upstream changes how they format things.
changes_ok(); changes_ok({ delete_empty_groups => 1, keep_comparing => 1, next_style => 'dzil' });
changes_file_ok(); changes_file_ok('ChangeLog'); changes_ok('ChangeLog', { delete_empty_groups => 1, keep_comparing => 1, next_style => 'dzil' });
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::CPAN::Changes::ReallyStrict, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::CPAN::Changes::ReallyStrict
CPAN shell
perl -MCPAN -e shell install Test::CPAN::Changes::ReallyStrict
For more information on module installation, please visit the detailed CPAN module installation guide.