Test::Run::Base::PlugHelpers - base class for Test::Run's classes with pluggable helpers.
Registers a pluggable helper class (commonly done during initialisation). %args contain the following keys:
'id'
The 'id' identifying this class type.
'base'
The base class to use as the ultimate primary class of the plugin-based class.
'collect_plugins_method'
The method from which to collect the plugins. It should be defined for every base class in the hierarchy of the main class (that instantiates the helpers) and is traversed there.
Calc the namespace to put the helper with the ID $id in.
$id
Instantiates a new pluggable helper object of the ID $id and with $args passed to the constructor.
TO OVERRIDE: this method determines the base namespace used as the base for the pluggable helpers classes.
Test::Run::Base, Test::Run::Obj, Test::Run::Core
This file is freely distributable under the MIT X11 license.
http://www.opensource.org/licenses/mit-license.php
Shlomi Fish, http://www.shlomifish.org/.
To install Test::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Run
CPAN shell
perl -MCPAN -e shell install Test::Run
For more information on module installation, please visit the detailed CPAN module installation guide.