Test::XML::Order 0.04
Sponsored Links
Test::XML::Order 0.04 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
901
Date added:
2007-05-07
Publisher:
G. Allen Morris III
Test::XML::Order 0.04 description
Test::XML::Order is a Perl module to compare the order of XML tags in perl tests.
SYNOPSIS
use Test::XML::Order tests => 3;
is_xml_in_order(
,
/foo>
); # PASS
is_xml_in_order(
,
); # FAIL
isnt_xml_in_order(
,
); # PASS
This module contains generic XML testing tools. See below for a list of other modules with functions relating to specific XML modules.
FUNCTIONS
is_xml_in_order ( GOT, EXPECTED [, TESTNAME ] )
This function compares GOT and EXPECTED, both of which are strings of XML. The comparison works only on the order of the tags, attributes are ignored.
Returns true or false, depending upon test success.
isnt_xml_in_order( GOT, MUST_NOT_BE [, TESTNAME ] )
This function is similar to is_xml_in_order(), except that it will fail if GOT and MUST_NOT_BE have elements in the same order.
NOTES
Please note the following about Test::XML::Order.
The package does not check that the input is well formed XML. You should use Test::XML or a similar package if you want to make sure the XML is well formed.
Only the order of tags are checked, so
is_xml_in_order(< a a="b"/ >x< b >< /b >, < a/ >< b a="c" >asdf< /b >);
passes as the inputs have the same order: < a/ >< b/ >.
The tree structure is tested so the the test below passes.
isnt_xml_in_order(< a >< b/ >< /a >, < a/ >< b/ >);
SYNOPSIS
use Test::XML::Order tests => 3;
is_xml_in_order(
is_xml_in_order(
isnt_xml_in_order(
This module contains generic XML testing tools. See below for a list of other modules with functions relating to specific XML modules.
FUNCTIONS
is_xml_in_order ( GOT, EXPECTED [, TESTNAME ] )
This function compares GOT and EXPECTED, both of which are strings of XML. The comparison works only on the order of the tags, attributes are ignored.
Returns true or false, depending upon test success.
isnt_xml_in_order( GOT, MUST_NOT_BE [, TESTNAME ] )
This function is similar to is_xml_in_order(), except that it will fail if GOT and MUST_NOT_BE have elements in the same order.
NOTES
Please note the following about Test::XML::Order.
The package does not check that the input is well formed XML. You should use Test::XML or a similar package if you want to make sure the XML is well formed.
Only the order of tags are checked, so
is_xml_in_order(< a a="b"/ >x< b >< /b >, < a/ >< b a="c" >asdf< /b >);
passes as the inputs have the same order: < a/ >< b/ >.
The tree structure is tested so the the test below passes.
isnt_xml_in_order(< a >< b/ >< /a >, < a/ >< b/ >);
Test::XML::Order 0.04 Screenshot
Test::XML::Order 0.04 Keywords
XML
Order 0.04
xml tags
to compare
Perl module
order
Perl
tags
module
tests
0.04
Test::XML::Order
TestXMLOrder
Test::XML::Order 0.04
Libraries
Programming
Bookmark Test::XML::Order 0.04
Test::XML::Order 0.04 Copyright
WareSeeker periodically updates pricing and software information of Test::XML::Order 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Test::XML::Order 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
Test::Simple is a Perl module with basic utilities for writing tests. Free Download
Test::XML::Simple is an easy testing for XML. Free Download
Test::XML::XPath is a Perl module to test XPath assertions. Free Download
XML::Conf is a simple configuration module based on XML. Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
HTTP::WebTest::XMLParser is a Perl module to parse wtscript in XML representation. Free Download
Test::Parser is a collection of parsers for different test output file formats. Free Download
Latest Software
Popular Software
Favourite Software