brian d foy > Modulino-Demo-0.12 > Modulino::TestWithBase

Download:
Modulino-Demo-0.12.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.12   Source  

NAME ^

Modulino::TestWithBase - A demonstration of module ideas

SYNOPSIS ^

        use __PACKAGE__;

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:

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

AUTHOR ^

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (c) 2013-2014, brian d foy, All Rights Reserved.

You may redistribute this under the same terms as Perl itself.

syntax highlighting: