Generating test data for black-box testing using genetic algorithms

Marten Fischer, R. Tönjes
{"title":"Generating test data for black-box testing using genetic algorithms","authors":"Marten Fischer, R. Tönjes","doi":"10.1109/ETFA.2012.6489789","DOIUrl":null,"url":null,"abstract":"Software testing is the most important and most time-and cost consuming part in the software development process. According to [10] about 50% of the resources in a software project are spent for testing. Often, research activities, with the goal to automatise this process, cover only the generation of test cases and their execution. The important topic of generating meaningful test data is often left out. Approaches based on the analysis of source code exist, but are inapplicable to perform black-box testing or test message-based services with more complex data types. Thus, the test data is usually gathered either manually by a test developer or randomly. The manual way requires a lot of experience on developers' side and the random approach produces a large amount of redundant test data covering identical use cases. This paper proposes a new approach to automatically generated test data for black-box testing exploiting genetic algorithms (GA). To enhance the quality of the test data micro genetic algorithms are used as a filter. With this approach a test developer can produce a limited number of qualitative test data in a controlled way, even if the source code is not available. This paper will examine the different components of a GA and what requirements they must fulfill to be suitable for a test data generation.","PeriodicalId":222799,"journal":{"name":"Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012)","volume":"110 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ETFA.2012.6489789","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

Software testing is the most important and most time-and cost consuming part in the software development process. According to [10] about 50% of the resources in a software project are spent for testing. Often, research activities, with the goal to automatise this process, cover only the generation of test cases and their execution. The important topic of generating meaningful test data is often left out. Approaches based on the analysis of source code exist, but are inapplicable to perform black-box testing or test message-based services with more complex data types. Thus, the test data is usually gathered either manually by a test developer or randomly. The manual way requires a lot of experience on developers' side and the random approach produces a large amount of redundant test data covering identical use cases. This paper proposes a new approach to automatically generated test data for black-box testing exploiting genetic algorithms (GA). To enhance the quality of the test data micro genetic algorithms are used as a filter. With this approach a test developer can produce a limited number of qualitative test data in a controlled way, even if the source code is not available. This paper will examine the different components of a GA and what requirements they must fulfill to be suitable for a test data generation.
使用遗传算法生成黑盒测试的测试数据
软件测试是软件开发过程中最重要、最耗时、最耗费成本的部分。根据[10],软件项目中大约50%的资源用于测试。通常,研究活动,以自动化这个过程为目标,只涵盖测试用例的生成和它们的执行。生成有意义的测试数据这一重要主题常常被忽略。基于源代码分析的方法已经存在,但不适用于执行黑盒测试或使用更复杂的数据类型测试基于消息的服务。因此,测试数据通常是由测试开发人员手动或随机收集的。手动方法需要开发人员的大量经验,而随机方法会产生大量冗余的测试数据,覆盖相同的用例。提出了一种利用遗传算法自动生成黑盒测试数据的新方法。为了提高测试数据的质量,采用微遗传算法进行滤波。使用这种方法,测试开发人员可以以可控的方式生成有限数量的定性测试数据,即使源代码不可用。本文将研究遗传算法的不同组件,以及它们必须满足哪些要求才能适合测试数据生成。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信