Title :
A Partition-Based Approach for XPath Testing
Author :
De La Riva, Claudio ; García-Fanjul, José ; Tuya, Javier
Author_Institution :
University of Oviedo, Spain
Abstract :
The XML language is becoming the preferred means of data interchange and representation in web based applications. Usually, XML data is stored in XML repositories, which can be accessed efficiently using the standard XPath as query language. However, the specific techniques for testing these queries often ignore the functional testing. This work addresses this problem by introducing a technique based on the category-partition method for the systematic design of test input data for an XPath query. The method permits the automatic identification of categories and choices in the XPath and XML Schema implementations and the construction of constraints in order to obtain complete and valid test cases. The technique is illustrated over a practical example.
Keywords :
Application software; Automatic testing; Character generation; Computer science; Database languages; Electronic commerce; Internet; System testing; Web services; XML; Category-Partition Method; Software Testing; XML Repositories; XPath;
Conference_Titel :
Software Engineering Advances, International Conference on
Conference_Location :
Tahiti
Print_ISBN :
0-7695-2703-5
DOI :
10.1109/ICSEA.2006.261273