A Partial Test Oracle for XML Query Testing

Dae S. Kim-Park, C. Riva, J. Tuya
{"title":"A Partial Test Oracle for XML Query Testing","authors":"Dae S. Kim-Park, C. Riva, J. Tuya","doi":"10.1109/TAICPART.2009.27","DOIUrl":null,"url":null,"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.","PeriodicalId":339626,"journal":{"name":"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques","volume":"56 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TAICPART.2009.27","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于XML查询测试的部分测试Oracle
在对XML数据进行访问测试时,提出了一个局部测试oracle来验证实际输出。所考虑的测试软件是一个查询程序,它接收从任何类型的XML存储库获得的XML文档作为输入,并产生XML数据作为输出。为了处理这个测试过程的实际输出,部分oracle根据:(1)测试人员提供的松散规范,以及(2)描述预期输出的不变属性的一组预定义约束来评估测试执行的正确性。通过松散规范,oracle可以将约束细化到要测试的查询程序的具体行为。这种方法使oracle能够在可行的代价下,以一定的精度自动响应被测程序的正确性。为了说明该方法的有效性,给出了一个案例研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Artifical Immune Systems, Danger Theory, and the Oracle Problem A Real-Time Test and Simulation Environment Based on Standard FPGA Hardware An Evaluation of Specification Based Test Generation Techniques Using Model Checkers Model Based Testing of End-to-End Chains Using Domain Specific Languages On Complexity of All-Paths Test Generation: From Practice to Theory
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1