NAME

Test::RDF - test the validity of RDF data

VERSION

This documentation refers to Test::RDF version 0.0.1

SYNOPSIS

use Test::More tests => 1;
use Test::RDF;

rdf_ok( rdfxml => 'data.rdf', 'data validity' );

DESCRIPTION

Test::RDF is used for testing RDF data in various formats. Currently, Test::RDF exports a single function rdf_ok which checks the validity of an RDF file. See rdf_ok for details.

SUBROUTINES

rdf_ok $FORMAT, $FILENAME [, $MESSAGE]

$FORMAT specifies the expected format of the RDF file. It should be one of: rdfxml, turtle or ntriples. $FILENAME should be the path to a file containing RDF data in the specified format. $MESSAGE is an optional message to use when displaying the "ok" or "not ok" message.

CONFIGURATION AND ENVIRONMENT

Test::RDF requires no configuration files or environment variables.

DEPENDENCIES

  • RDF::Redland

INCOMPATIBILITIES

None known

BUGS AND LIMITATIONS

Please report any bugs or feature requests to bug-test-rdf at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-RDF. 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::RDF

You can also look for information at:

ACKNOWLEDGEMENTS

Dave Beckett for Redland.

AUTHOR

Michael Hendricks <michael@palmcluster.org>

LICENSE AND COPYRIGHT

Copyright (c) 2006 Michael Hendricks (<michael@palmcluster.org>). All rights reserved.

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