NAME

Modulino::TestWithBase - A demonstration of module ideas

SYNOPSIS

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.

DESCRIPTION

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_.

This also handles the normal "run as application" modulino idea if the

run

Testing

test

Run all of the subroutines that start with _test_. Each subroutine is wrapped in a Test::More subtest.

TO DO

SEE ALSO

SOURCE AVAILABILITY

This source is in Github:

https://github.com/briandfoy/modulino-demo/

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

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:

Around line 71:

You forgot a '=back' before '=head1'