Title :
A Partial Test Oracle for XML Query Testing
Author :
Kim-Park, Dae S. ; De La Riva, Claudio ; Tuya, Javier
Author_Institution :
Dept. of Comput., Univ. of Oviedo, Viesques, Spain
Abstract :
A partial test oracle is proposed to verify the actual outputs in access testing on XML data. The considered software under test is a query program which receives as input an XML document obtained from an XML repository of any kind, and produces XML data as output. To deal with the actual outputs from this testing process, the partial oracle evaluates the correctness of the test executions according to: (1) a loose specification provided by the tester, and (2) a set of predefined constraints that describe invariant properties of the expected outputs. By means of the loose specification, the oracle can particularize the constraints to the concrete behaviour of the query program to test. This approach enables the oracle to give automatically a response about the correctness of the program under test with a certain precision at feasible cost. To illustrate the usefulness of the approach a case study is presented.
Keywords :
XML; program testing; XML data; XML document; XML query testing; XML repository; partial test oracle; query program; Application software; Automatic testing; Automation; Computer industry; Concrete; Costs; Humans; Software testing; System testing; XML;
Conference_Titel :
Testing: Academic and Industrial Conference - Practice and Research Techniques, 2009. TAIC PART '09.
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-3820-4
DOI :
10.1109/TAICPART.2009.27