The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Structure - Test for the structure of a package

VERSION

Version 0.04

SYNOPSIS

Have you ever wished that you could build tests based on the structure of a package, not how a package acts. Ya me either, but I've bumped in to a situation where I needed it.

    use Test::Structure tests => 5;

    require_ok( 'My::Package' );
    has_includes( 'My::Package', qw{My::Other::Package Some::Other::Package} );
    has_subs( 'My::Package', qw{this that} );
    has_commetns( 'My;::Package' );
    has_pod( 'My::Package' );
    

EXPORT

has_includes

has_subs

has_pod

has_comments

AUTHOR

notbenh, <notbenh at cpan.org>

BUGS

Please report any bugs or feature requests to bug-test-structure at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Structure. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Test::Structure

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2010 notbenh.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.