Mattia Barbon > Test-DataDriven > Test::DataDriven::Plugin

Download:
Test-DataDriven-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Test::DataDriven::Plugin - when Test::Base is not enough

SYNOPSIS ^

See Test::DataDriven

METHODS ^

test_name

  my $test_name = test_name();

This function is exported by default. The test name is "$block - $action - $section".b

register

    __PACKAGE__->register;

This method must be called by every Test::DataDriven::Plugin subclass in order to register the section handlers with Test::DataDriven.

begin, run, end

Dispatch to the subroutines registered with attributes Begin(), Run(), End(), passing as parameters the block object, section name and the section data.

BUGS ^

Needs more documentation and examples.

AUTHOR ^

Mattia Barbon <mbarbon@cpan.org>

LICENSE ^

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: