Discrete cuckoo search algorithms for test case prioritization

被引:21
作者
Bajaj, Anu [1 ]
Sangwan, Om Prakash [2 ]
机构
[1] Machine Intelligence Res Labs MIR Labs, Sci Network Res Excellence, Auburn, WA 98071 USA
[2] Guru Jambheshwar Univ Sci & Technol, Dept Comp Sci & Engn, Hisar 125001, Haryana, India
关键词
Search based software testing; Regression testing; Test case prioritization; Meta-heuristics; Nature-inspired algorithms; Cuckoo search algorithm; Asexual reproduction algorithm; Permutation encoding; OPTIMIZATION; SELECTION;
D O I
10.1016/j.asoc.2021.107584
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Regression testing is an essential aspect of the software development lifecycle. As the software evolves, the test suite grows, hence the cost and effort to retest the software. Test case prioritization is one of the mitigation techniques for regression testing. It ranks the test cases to maximize the desired properties, e.g., detecting faults early. The efficiency and effectiveness of test case prioritization techniques can be enhanced using optimization algorithms. Nature-inspired algorithms are gaining more attention due to their easy implementation and quality of the solutions. This paper proposes the discrete cuckoo search algorithm for test case prioritization. The prioritization problem deals with ordering the test cases. Therefore, a new adaptation strategy using asexual genetic reproduction is introduced to convert real numbers into permutation sequences. Furthermore, the cuckoo search algorithm's effectiveness is extended with the genetic algorithm's mutation operator to balance the trade-off between exploration and exploitation. An in-depth comparative study on four case studies is conducted between the proposed algorithms, existing state-of-the-art algorithms and baseline approach. Statistical investigation confirms that the proposed hybrid cuckoo search algorithm outperforms the genetic algorithm, particle swarm optimization, ant colony optimization, tree seed algorithm and random search by 4.29%, 5.52%, 8.38%, 2.74% and 10.80%, respectively. (C) 2021 Elsevier B.V. All rights reserved.
引用
收藏
页数:18
相关论文
共 58 条
[1]  
Anu B., 2021, RECENT ADV COMPUTER, V14, P593
[2]   A hybrid-adaptive neuro-fuzzy inference system for multi-objective regression test suites optimization [J].
Anwar, Zeeshan ;
Afzal, Hammad ;
Bibi, Nazia ;
Abbas, Haider ;
Mohsin, Athar ;
Arif, Omar .
NEURAL COMPUTING & APPLICATIONS, 2019, 31 (11) :7287-7301
[3]   Adaptive Cuckoo Search based optimal bilateral filtering for denoising of satellite images [J].
Asokan, Anju ;
Anitha, J. .
ISA TRANSACTIONS, 2020, 100 :308-321
[4]  
Bajaj, 2019, P INT C SUST COMP SC, P1564, DOI [10.2139/ssrn.3356318, DOI 10.2139/SSRN.3356318]
[5]  
Bajaj A, 2021, INT J INF TECHNOL, V13, P817
[6]  
Bajaj A., 2020, COMPUTATIONAL INTELL, P99, DOI [10.1201/9781003079996-7, DOI 10.1201/9781003079996-7]
[7]  
Bajaj A., 2019, P 4 INT C COMP COMM, P1, DOI DOI 10.1109/CCAA.2018.8777692
[8]   Tri-level regression testing using nature-inspired algorithms [J].
Bajaj, Anu ;
Sangwan, Om Prakash .
INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2021, 17 (01) :1-16
[9]   A Systematic Literature Review of Test Case Prioritization Using Genetic Algorithms [J].
Bajaj, Anu ;
Sangwan, Om Prakash .
IEEE ACCESS, 2019, 7 :126355-126375
[10]   Genetic algorithms and traveling salesman problems [J].
Chatterjee, S ;
Carrera, C ;
Lynch, LA .
EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 1996, 93 (03) :490-510