Test::XML::SimpleTest::XML::Simple is an easy testing for XML. | |
Download |
Test::XML::Simple Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Joe McMahon
- Publisher web site:
- http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm
Test::XML::Simple Tags
Test::XML::Simple Description
Test::XML::Simple is an easy testing for XML. Test::XML::Simple is an easy testing for XML.SYNOPSIS use Test::XML::Simple tests=>5; xml_valid $xml, "Is valid XML"; xml_node $xml, "/xpath/expression", "specified xpath node is present"; xml_is, $xml, '/xpath/expr', "expected value", "specified text present"; xml_like, $xml, '/xpath/expr', qr/expected/, "regex text present"; xml_is_deeply, $xml, '/xpath/expr', $xml2, "structure and contents match"; # Not yet implemented: # xml_like_deeply would be nice too...Test::XML::Simple is a very basic class for testing XML. It uses the XPath syntax to locate nodes within the XML. You can also check all or part of the structure vs. an XML fragment. Requirements: · Perl
Test::XML::Simple Related Software