Name : perl-Test-XML-Count
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.7.1
| Date : 2024-07-03 19:10:56
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-XML-Count-0.02-lp156.7.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl extension for testing element count at a certain depth
|
Description :
This test module allows you to check XML element counts. This is useful in testing applications which generate XML against known source data. At The New York Times, we use it during development to quickly verify that our RSS feeds meet very basic structural standards. For example, every news article needs to have exactly one of each of headline, byline, date and text, and *at least* one image.
This module fills a gap in the Test::XML::Simple manpage, which only has facilities to verify that an element exists (but not how many of it exist as direct siblings). This is a great way to validate the structure of your XML documents without doing any deep (SLOW) comparison. It also avoids having to hard code fragile element values that may change between tests or over time. Use the Test::XML::Count manpage in conjunction with your existing XML testing tools -- the \"SEE ALSO\" manpage.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |