Data-Semantic
view release on metacpan or search on metacpan
lib/Data/Semantic/Test.pm view on Meta::CPAN
https://localhost/
https://use.perl.org/~hanekomu/journal?entry=12345
) ],
invalid => [ qw(
news://localhost/
http://?123
) ],
},
{
args => { scheme => 'https' },
valid => [ qw(
https://localhost/
https://use.perl.org/~hanekomu/journal?entry=12345
) ],
invalid => [ qw(
http://localhost/
http://use.perl.org/~hanekomu/journal?entry=12345
http://?123
news://localhost/
) ],
},
);
So you define one or more scenarios, each within its own hashref within the
C<TESTDATA> list. In each scenario you have a list of arguments to pass to the
semantic data object constructor. Given those arguments, certain values will
be considered valid and others invalid.
See L<Test::CompanionClasses> for more information on how these tests are run.
=head1 METHODS
=head2 PLAN
FIXME
=head2 run
FIXME
=head2 munge_args
FIXME
=head2 test_is_invalid
FIXME
=head2 test_is_valid
FIXME
=head2 test_normalize
FIXME
=head1 INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at
L<http://rt.cpan.org>.
=head1 AVAILABILITY
The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see
L<http://search.cpan.org/dist/Data-Semantic/>.
The development version lives at
L<http://github.com/hanekomu/Data-Semantic/>.
Instead of sending patches, please fork this project using the standard git
and github infrastructure.
=head1 AUTHOR
Marcel Gruenauer <marcel@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 0.529 second using v1.01-cache-2.11-cpan-39bf76dae61 )