Shlomi Fish > Test-Run-0.0302 > Test::Run::Base::PlugHelpers

Download:
Test-Run-0.0302.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Test::Run::Base::PlugHelpers - base class for Test::Run's classes with pluggable helpers.

$self->register_pluggable_helper( { %args } )

Registers a pluggable helper class (commonly done during initialisation). %args contain the following keys:

$self->calc_helpers_namespace($id)

Calc the namespace to put the helper with the ID $id in.

$self->create_pluggable_helper_obj({ id => $id, args => $args })

Instantiates a new pluggable helper object of the ID $id and with $args passed to the constructor.

$self->helpers_base_namespace()

TO OVERRIDE: this method determines the base namespace used as the base for the pluggable helpers classes.

SEE ALSO ^

Test::Run::Base, Test::Run::Obj, Test::Run::Core

LICENSE ^

This file is freely distributable under the MIT X11 license.

http://www.opensource.org/licenses/mit-license.php

AUTHOR ^

Shlomi Fish, http://www.shlomifish.org/.

syntax highlighting: