Targeted adequacy criteria for search-based test data generation

W. Zidoune, T. Benouhiba
{"title":"Targeted adequacy criteria for search-based test data generation","authors":"W. Zidoune, T. Benouhiba","doi":"10.1109/ICITES.2012.6216624","DOIUrl":null,"url":null,"abstract":"In test data generation approaches, structural coverage criteria are popular and considered cost effective mainly because they are relatively easy to implement. However, we cannot establish a direct link between achieving good structural coverage and test goals such as finding errors. On the other hand, specific criteria can explicitly target such goals but they may require a full formal specification of the program, which makes them expensive and hard to use. In this paper, we propose a new approach to describe targeted test criteria using few structural information of the system under test. The new criteria can easily describe specific situations such as errors and can be transformed into a fitness function. A search technique, in this case ACO (Ant Colony Optimization), can then be used to automatically generate adequate test data. A case study is presented to illustrate the applicably and the usefulness of the approach.","PeriodicalId":137864,"journal":{"name":"2012 International Conference on Information Technology and e-Services","volume":"58 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on Information Technology and e-Services","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICITES.2012.6216624","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

In test data generation approaches, structural coverage criteria are popular and considered cost effective mainly because they are relatively easy to implement. However, we cannot establish a direct link between achieving good structural coverage and test goals such as finding errors. On the other hand, specific criteria can explicitly target such goals but they may require a full formal specification of the program, which makes them expensive and hard to use. In this paper, we propose a new approach to describe targeted test criteria using few structural information of the system under test. The new criteria can easily describe specific situations such as errors and can be transformed into a fitness function. A search technique, in this case ACO (Ant Colony Optimization), can then be used to automatically generate adequate test data. A case study is presented to illustrate the applicably and the usefulness of the approach.
基于搜索的测试数据生成的目标充分性标准
在测试数据生成方法中,结构覆盖标准很流行,并且被认为具有成本效益,主要是因为它们相对容易实现。然而,我们不能在实现良好的结构覆盖和测试目标(比如发现错误)之间建立直接的联系。另一方面,特定的标准可以明确地针对这些目标,但它们可能需要程序的完整的正式规范,这使得它们昂贵且难以使用。本文提出了一种利用被测系统的少量结构信息来描述目标测试准则的新方法。新的准则可以很容易地描述特定的情况,如误差,并可以转换为适应度函数。搜索技术,在这种情况下蚁群优化,可以用来自动生成足够的测试数据。最后通过一个案例分析说明了该方法的适用性和有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信