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


Test-DataDriven documentation  | view source Contained in the Test-DataDriven distribution.

Index


NAME

Top

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

SYNOPSIS

Top

See Test::DataDriven

METHODS

Top

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

Top

Needs more documentation and examples.

AUTHOR

Top

Mattia Barbon <mbarbon@cpan.org>

LICENSE

Top

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


Test-DataDriven documentation  | view source Contained in the Test-DataDriven distribution.