Search Based Test Data Generation: A Multi Objective Approach using MOPSO Evolutionary Algorithm

P. Gopi, M. Ramalingam, C. Arumugam
{"title":"Search Based Test Data Generation: A Multi Objective Approach using MOPSO Evolutionary Algorithm","authors":"P. Gopi, M. Ramalingam, C. Arumugam","doi":"10.1145/2998476.2998492","DOIUrl":null,"url":null,"abstract":"Search based test data generation plays an important role in software testing. Several search based evolutionary algorithms are used to find the optimal test data. Among these algorithms, a meta-heuristic algorithm called Particle Swarm Optimization (PSO) algorithm is adopted for finding the optimal test data for the given Software Under Test (SUT) due to its simplicity and fast convergence. The success of PSO as a single objective optimizer in the literature has motivated to solve multi objective optimization problems. Hence, Multi Objective Particle Swarm Optimization (MOPSO) is adopted for solving more than one objective. This research work consider two objectives which attempts to maximize the branch coverage and reduce the test suite size. A benchmark program is used for the experimental analysis using MOPSO algorithm. The experimental analysis was performed using MOTestGen tool to extract the results. The extracted results portraits the convergence and coverage performance in producing the optimal test data as the population size increases.","PeriodicalId":171399,"journal":{"name":"Proceedings of the 9th Annual ACM India Conference","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-10-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 9th Annual ACM India Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2998476.2998492","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Search based test data generation plays an important role in software testing. Several search based evolutionary algorithms are used to find the optimal test data. Among these algorithms, a meta-heuristic algorithm called Particle Swarm Optimization (PSO) algorithm is adopted for finding the optimal test data for the given Software Under Test (SUT) due to its simplicity and fast convergence. The success of PSO as a single objective optimizer in the literature has motivated to solve multi objective optimization problems. Hence, Multi Objective Particle Swarm Optimization (MOPSO) is adopted for solving more than one objective. This research work consider two objectives which attempts to maximize the branch coverage and reduce the test suite size. A benchmark program is used for the experimental analysis using MOPSO algorithm. The experimental analysis was performed using MOTestGen tool to extract the results. The extracted results portraits the convergence and coverage performance in producing the optimal test data as the population size increases.
基于搜索的测试数据生成:一种基于MOPSO进化算法的多目标方法
基于搜索的测试数据生成在软件测试中起着重要的作用。使用了几种基于搜索的进化算法来寻找最优的测试数据。在这些算法中,对于给定的被测软件(SUT),采用一种元启发式算法粒子群优化算法(Particle Swarm Optimization, PSO)来寻找最优的测试数据,该算法具有简单、收敛快的特点。文献中粒子群作为单目标优化器的成功,激励了人们解决多目标优化问题。为此,采用多目标粒子群算法求解多个目标。这项研究工作考虑了两个目标,即最大化分支覆盖率和减少测试套件的大小。利用基准程序对MOPSO算法进行了实验分析。使用MOTestGen工具进行实验分析,提取结果。提取的结果描述了随着人口规模的增加而产生最佳测试数据的收敛性和覆盖性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信