Synopsis
Author tests for the Perl distribution Algorithm-Odometer-Tiny.
Notes
How to run coverage tests (there is a custom target in Makefile.PL):
perl Makefile.PL && make authorcover
firefox cover_db/coverage.html
git clean -dxn # change to -dxf to actually clean
Running tests on all Perl versions: Install the required Perl versions with perlbrew, then to set them up:
curl -L https://cpanmin.us >/tmp/cpanm
perlbrew exec perl /tmp/cpanm App::cpanminus Test::More App::Prove
Note: cpanm doesn't work on Perls before 5.8.1. There, you'll have to use something like this instead (there appears to currently be a undeclared circular dependency between Storable and a newer Test::More that has note, hence the force below):
perlbrew use perl-5.6.2
perl -MCPAN -e shell
cpan> install ExtUtils::MakeMaker
cpan> force install Storable
cpan> install Test::More
cpan> install App::Prove
Then, to run the tests:
perlbrew exec prove -lQ
Author, Copyright, and License
Copyright (c) 2019 Hauke Daempfling (haukex@zero-g.net).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
For more information see the Perl Artistic License, which should have been distributed with your copy of Perl. Try the command perldoc perlartistic or see http://perldoc.perl.org/perlartistic.html.