Modulino::TestWithBase - A demonstration of module ideas
This module isn't meant for use. It's an example of the modulino idea with an additional branch to recognize test situations then run as a test file.
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:
https://github.com/briandfoy/modulino-demo/
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright © 2012-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.
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.