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
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
This source is in Github:
brian d foy,
Copyright © 2012-2021, brian d foy <firstname.lastname@example.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.