Modulino::TestWithBase - A demonstration of module ideas
use __PACKAGE__;
I wrote this module as a demonstration of some ideas for Mastering Perl's modulino chapter. This module loads Modulino::Base to handle the modulino portions of the module.
In particular, this modulino has a special test more. If CPANTEST is a true value, it runs the module as a test file. That mode will look for methods that start with _test_.
CPANTEST
_test_
This also handles the normal "run as application" modulino idea if the
Run all of the subroutines that start with _test_. Each subroutine is wrapped in a Test::More subtest.
Test::More
This source is in Github:
http://github.com/briandfoy/modulino-demo/
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright (c) 2013-2014, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Modulino::Demo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Modulino::Demo
CPAN shell
perl -MCPAN -e shell install Modulino::Demo
For more information on module installation, please visit the detailed CPAN module installation guide.