Hybrid Approach for Automated Test Data Generation

Q3 Decision Sciences Journal of ICT Standardization Pub Date : 2022-01-01 DOI:10.13052/jicts2245-800X.1043
Gagan Kumar;Vinay Chopra
{"title":"Hybrid Approach for Automated Test Data Generation","authors":"Gagan Kumar;Vinay Chopra","doi":"10.13052/jicts2245-800X.1043","DOIUrl":null,"url":null,"abstract":"Software testing has long been thought to be a good technique to improve the software quality and reliability. Path testing is the most reliable software testing technique and the key method for improving software quality among all testing approaches. On the other hand, test data quality has a big impact on the software testing activity's ability to detect errors or defects. To solving testing problem, one must locate the entire search space for the relevant input data to encompass the different paths in the testable program. To satisfy path coverage, it is vital test to look at the accumulated test data across the thorough search area. A new approach based on ant colony optimization and negative selection algorithm (HACO-NSA) is presented in this research which overcome the flaws associated with search-based test data by generated automated test data. The optimum path testing objective is to generate appropriate test data to maximise coverage and to enhance the test data's efficacy, as a result, the test data's adequacy is validated using a path-based fitness function. In the NSA generation stage, the suggested method alters the new detectors creation using ACO. The proposed approach is evaluated for metrics such as average coverage, average generation, average time, and success rate and comparison has been done with random testing, ant colony optimization and negative selection algorithm Different benchmark programs have been used for object-oriented system. The findings show that the hybrid methodology escalates the coverage percentage and curtail test data size, reduces the redundancy in data and enhances the efficiency. The proposed approach is follows IEEE 829–2008 test documentation in entire testing process.","PeriodicalId":36697,"journal":{"name":"Journal of ICT Standardization","volume":"10 4","pages":"531-561"},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/iel7/10251929/10254731/10255394.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of ICT Standardization","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10255394/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Decision Sciences","Score":null,"Total":0}
引用次数: 0

Abstract

Software testing has long been thought to be a good technique to improve the software quality and reliability. Path testing is the most reliable software testing technique and the key method for improving software quality among all testing approaches. On the other hand, test data quality has a big impact on the software testing activity's ability to detect errors or defects. To solving testing problem, one must locate the entire search space for the relevant input data to encompass the different paths in the testable program. To satisfy path coverage, it is vital test to look at the accumulated test data across the thorough search area. A new approach based on ant colony optimization and negative selection algorithm (HACO-NSA) is presented in this research which overcome the flaws associated with search-based test data by generated automated test data. The optimum path testing objective is to generate appropriate test data to maximise coverage and to enhance the test data's efficacy, as a result, the test data's adequacy is validated using a path-based fitness function. In the NSA generation stage, the suggested method alters the new detectors creation using ACO. The proposed approach is evaluated for metrics such as average coverage, average generation, average time, and success rate and comparison has been done with random testing, ant colony optimization and negative selection algorithm Different benchmark programs have been used for object-oriented system. The findings show that the hybrid methodology escalates the coverage percentage and curtail test data size, reduces the redundancy in data and enhances the efficiency. The proposed approach is follows IEEE 829–2008 test documentation in entire testing process.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
测试数据自动生成的混合方法
长期以来,软件测试一直被认为是一种提高软件质量和可靠性的好技术。路径测试是所有测试方法中最可靠的软件测试技术,也是提高软件质量的关键方法。另一方面,测试数据质量对软件测试活动检测错误或缺陷的能力有很大影响。为了解决测试问题,必须定位相关输入数据的整个搜索空间,以包含可测试程序中的不同路径。为了满足路径覆盖,查看整个搜索区域中累积的测试数据是至关重要的测试。本文提出了一种基于蚁群优化和负选择算法(HACO-NSA)的新方法,通过生成自动化测试数据来克服基于搜索的测试数据的缺陷。最佳路径测试的目标是生成适当的测试数据,以最大限度地扩大覆盖范围并提高测试数据的有效性,因此,使用基于路径的适应度函数来验证测试数据的充分性。在NSA生成阶段,建议的方法改变了使用ACO创建的新探测器。对所提出的方法进行了平均覆盖率、平均生成、平均时间和成功率等指标的评估,并与随机测试、蚁群优化和负选择算法进行了比较。不同的基准程序已用于面向对象系统。研究结果表明,混合方法提高了覆盖率,缩小了测试数据的大小,减少了数据的冗余,提高了效率。所提出的方法在整个测试过程中遵循IEEE 829-2008测试文件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of ICT Standardization
Journal of ICT Standardization Computer Science-Information Systems
CiteScore
2.20
自引率
0.00%
发文量
18
期刊最新文献
Grammatical Error Correction Detection of English Conversational Pronunciation Under a Deep Learning Algorithm Design of Routing Algorithm for Communication of Power Wireless Sensor Networks Based on Improved Harmony Search Research on Social Network Advertisement Delivery Platform Based on Blockchain Research on Remote eSIM Provisioning Management Technology for 5G Terminal Design and Implementation of Virtualization Cloud Computing System Intelligent Terminal Application Layer
×
引用
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