An Automated Path-Focused Test Case Generation with Dynamic Parameterization Using Adaptive Genetic Algorithm (AGA) for Structural Program Testing

Author:

Rajagopal Manikandan1ORCID,Sivasakthivel Ramkumar2ORCID,Loganathan Karuppusamy3ORCID,Sarris Loannis E.4ORCID

Affiliation:

1. Department of Lean Operations and Systems, School of Business and Management, CHRIST (Deemed to be University), Bengaluru 560029, Karnataka, India

2. Department of Computer Science, School of Sciences, CHRIST (Deemed to be University), Bengaluru 560029, Karnataka, India

3. Department of Mathematics and Statistics, Manipal University Jaipur, Jaipur 303007, Rajasthan, India

4. Department of Mechanical Engineering, University of West Attica, 250 Thivon & P. Ralli Str, 12244 Athens, Greece

Abstract

Various software engineering paradigms and real-time projects have proved that software testing is the most critical and highly important phase in the SDLC. In general, software testing takes approximately 40–60% of the total effort and time involved in project development. Generating test cases is the most important process in software testing. There are many techniques involved in the automatic generation of these test cases which aim to find a smaller group of cases that could allow for an adequacy level to be achieved which will hence reduce the effort and cost involved in software testing. In the structural testing of a product, the auto-generation of test cases that are path focused in an efficient manner is a challenging process. These are often considered optimization problems and hence search-based methods such as genetic algorithm (GA) and swarm optimizations have been proposed to handle this issue. The significance of the study is to address the optimization problem of automatic test case generation in search-based software engineering. The proposed methodology aims to close the gap of genetic algorithms acquiring local minimum due to poor diversity. Here, dynamic adjustment of cross-over and mutation rate is achieved by calculating the individual measure of similarity and fitness and searching for the more global optimum. The proposed method is applied and experimented on a benchmark of five industrial projects. The results of the experiments have confirmed the efficiency of generating test cases that have optimum path coverage.

Publisher

MDPI AG

Subject

Information Systems

Reference42 articles.

1. Prasanna, M., Sivanandam, S.N., Venkatesan, R., and Sundarrajan, R. (2015). A Survey on Automatic Test Case Generation. Acad. Open Internet J., 15, Available online: http://www.acadjournal.com/.

2. Search-based software test data generation: A survey;Mcminn;Softw. Test. Verif. Reliab.,2004

3. Adaptive Evolutionary Testing: An Adaptive Approach to Search-Based Test Case Generation for Object-Oriented Software;Ribeiro;Stud. Comput. Intell.,2010

4. Search based software test data generation for structural testing: A perspective;Varshney;ACM SIGSOFT Softw. Eng. Notes,2013

5. Automated Software Test Data Generation Based on Simulated Annealing Genetic Algorithms;Fu;Comput. Eng. Appl.,2005

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Automated test case generation for path coverage using Hierarchical Surrogate-Assisted Differential Evolution;Applied Soft Computing;2024-06

2. Optimal Management of Resources in Cloud Infrastructure through Energy Aware Collaborative Model;2024 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI);2024-05-09

3. A Conceptual Framework for AI Governance in Public Administration – A Smart Governance Perspective;2023 7th International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC);2023-10-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3