A Multi-Goal Particle Swarm Optimizer for Test Case Prioritization

被引:4
作者
Nazir, Muhammad [1 ]
Mehmood, Arif [2 ]
Aslam, Waqar [2 ]
Park, Yongwan [3 ]
Choi, Gyu Sang [3 ]
Ashraf, Imran [3 ]
机构
[1] Islamia Univ Bahawalpur, Dept Informat Secur, Bahawalpur 63100, Pakistan
[2] Islamia Univ Bahawalpur, Dept Comp Sci & Informat Technol, Bahawalpur 63100, Pakistan
[3] Yeungnam Univ, Dept Informat & Commun Engn, Gyongsan 38541, South Korea
基金
新加坡国家研究基金会;
关键词
Test case prioritization; regression testing; particle swarm optimization genetic algorithm; fault detection; ALGORITHM;
D O I
10.1109/ACCESS.2023.3305973
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Regression testing is carried out to test the updated supply code within the constraints of time and sources. Since it is very difficult to run all the updated source code every time, test case prioritization is needed to decrease the fee of regression testing. Various methodologies including extensions of white box and black box prioritization, have been presented considering the prioritization of test instances. In this context, the employment of particle swarm optimization (PSO) is usually recommended for test case prioritization. Single test case prioritization focuses to order test cases to maximize objectives like fault detection rate, execution time, etc. Regression testing for single-objective test suite prioritization can become challenging due to its longer execution time. However, test case prioritization for multi-objective functions is a complex and time-consuming task. A check suite may be organized in a certain order by an appropriate technique, subsequently permitting the detection of flaws as early as possible. Multi-goal particle swarm optimization (MOPSO) is used for case prioritization in regression testing. The purpose of MOPSO in this context is to organize the test suite in a specific order that maximizes fault coverage, provides sufficient coverage of test cases, and minimizes execution time. This study proposes an approach based on MOPSO that focuses on maximum fault coverage, most circumstance insurance, and minimal execution time. Experiments are performed using the average percentage of faults detected (APFD) to evaluate its performance. Performance analysis using APFD consisting of no order, opposite order, and random order indicates that the MOPSO surpasses all the previous techniques and obtains an 85% fault coverage. Moreover, MOPSO is better in terms of execution time, fault detection fee, and early detection capabilities.
引用
收藏
页码:90683 / 90697
页数:15
相关论文
共 27 条
[1]   Greedy algorithm for the general multidimensional knapsack problem [J].
Akcay, Yalcin ;
Li, Haijun ;
Xu, Susan H. .
ANNALS OF OPERATIONS RESEARCH, 2007, 150 (01) :17-29
[2]  
Ariffin MA, 2022, International Journal of Engineering Trends and Technology, V70, P22, DOI [10.14445/22315381/ijett-v70i3p203, 10.14445/22315381/IJETT-V70I3P203, DOI 10.14445/22315381/IJETT-V70I3P203]
[3]   Search-Based test case prioritization for simulation-Based testing of cyber-Physical system product lines [J].
Arrieta, Aitor ;
Wang, Shuai ;
Sagardui, Goiuria ;
Etxeberria, Leire .
JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 :1-34
[4]   Employing Multi-Objective Search to Enhance Reactive Test Case Generation and Prioritization for Testing Industrial Cyber-Physical Systems [J].
Arrieta, Aitor ;
Wang, Shuai ;
Markiegi, Urtzi ;
Sagardui, Goiuria ;
Etxeberria, Leire .
IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2018, 14 (03) :1055-1066
[5]  
PB, 2020, International Journal of Advanced Trends in Computer Science and Engineering, V9, P6569, DOI [10.30534/ijatcse/2020/346942020, 10.30534/ijatcse/2020/346942020, DOI 10.30534/IJATCSE/2020/346942020]
[6]  
Beni G., 2020, Complex Social and Behavioral Systems: Game Theory and Agent-Based Models, P791, DOI [DOI 10.1007/978-1-0716-0368-0_530, DOI 10.1007/978-3-642-27737-5530-5]
[7]  
Budhwar K., 2021, Int. J. Eng. Res. Technol., V10, P527
[8]   Relation-based test case prioritization for regression testing [J].
Chi, Jianlei ;
Qu, Yu ;
Zheng, Qinghua ;
Yang, Zijiang ;
Jin, Wuxia ;
Cui, Di ;
Liu, Ting .
JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 163
[9]  
Coello CAC, 2002, IEEE C EVOL COMPUTAT, P1051, DOI 10.1109/CEC.2002.1004388
[10]   A Multi-Objective Particle Swarm Optimization for Test Case Selection Based on Functional Requirements Coverage and Execution Effort [J].
de Souza, Luciano S. ;
de Miranda, Pericles B. C. ;
Prudencio, Ricardo B. C. ;
Barros, Flavia de A. .
2011 23RD IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2011), 2011, :245-252