Test Suite Prioritization Based on Optimization Approach Using Reinforcement Learning

Author:

Waqar Muhammad,Imran ORCID,Zaman Muhammad Atif,Muzammal MuhammadORCID,Kim Jungsuk

Abstract

Regression testing ensures that modified software code changes have not adversely affected existing code modules. The test suite size increases with modification to the software based on the end-user requirements. Regression testing executes the complete test suite after updates in the software. Re-execution of new test cases along with existing test cases is costly. The scientific community has proposed test suite prioritization techniques for selecting and minimizing the test suite to minimize the cost of regression testing. The test suite prioritization goal is to maximize fault detection with minimum test cases. Test suite minimization reduces the test suite size by deleting less critical test cases. In this study, we present a four-fold methodology of test suite prioritization based on reinforcement learning. First, the testers’ and users’ log datasets are prepared using the proposed interaction recording systems for the android application. Second, the proposed reinforcement learning model is used to predict the highest future reward sequence list from the data collected in the first step. Third, the proposed prioritization algorithm signifies the prioritized test suite. Lastly, the fault seeding approach is used to validate the results from software engineering experts. The proposed reinforcement learning-based test suite optimization model is evaluated through five case study applications. The performance evaluation results show that the proposed mechanism performs better than baseline approaches based on random and t-SANT approaches, proving its importance for regression testing.

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference42 articles.

1. A novel approach to multiple criteria based test case prioritization;Abid;Proceedings of the 2017 13th International Conference on Emerging Technologies (ICET),2017

2. Test case prioritization approaches in regression testing: A systematic literature review

3. Enhanced Weighted Method for Test Case Prioritization in Regression Testing Using Unique Priority Value;Ammar;Proceedings of the 2016 International Conference on Information Science and Security (ICISS),2016

4. Using artificial bee colony for code coverage based test suite prioritization;Konsaard;Proceedings of the 2015 2nd International Conference on Information Science and Security (ICISS),2015

5. Regression Testing of Database Applications Under an Incremental Software Development Setting

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

1. Test Case Optimization Technique for Web Applications;2024 Third International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE);2024-04-26

2. A Reinforcement Learning Approach to Guide Web Crawler to Explore Web Applications for Improving Code Coverage;Electronics;2024-01-19

3. Prioritizing software regression testing using reinforcement learning and hidden Markov model;International Journal of Computers and Applications;2023-10-30

4. Component-Based Test Case Generation and Prioritization Using an Improved Genetic Algorithm;International Journal of Cooperative Information Systems;2023-08-17

5. A Systematic Literature Review on Test Case Prioritization and Regression Test Selection;2023 IEEE/ACIS 21st International Conference on Software Engineering Research, Management and Applications (SERA);2023-05-23

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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