Ant Colony System With Sorting-Based Local Search for Coverage-Based Test Case Prioritization

被引:15
作者
Lu, Chengyu [2 ]
Zhong, Jinghui [1 ]
Xue, Yinxing [3 ]
Feng, Liang [4 ]
Zhang, Jun [5 ]
机构
[1] South China Univ Technol, Sch Comp Sci & Engn, Comp Sci, Guangzhou 510006, Peoples R China
[2] South China Univ Technol, Sch Comp Sci & Engn, Guangzhou 510006, Peoples R China
[3] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei 230027, Peoples R China
[4] Chongqing Univ, Sch Comp Sci, Chongqing 400044, Peoples R China
[5] Victoria Univ, Melbourne, Vic 8001, Australia
基金
中国国家自然科学基金;
关键词
Search problems; Testing; Software engineering; Computer science; Stochastic processes; Graphics processing units; Ant colony system (ACS); regression testing; statement coverage; test case prioritization (TCP); GENETIC ALGORITHM; OPTIMIZATION; INTEGRATION; CODE;
D O I
10.1109/TR.2019.2930358
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Test case prioritization (TCP) is a popular regression testing technique in software engineering field. The task of TCP is to schedule the execution order of test cases so that certain objective (e.g., code coverage) can be achieved quickly. In this article, we propose an efficient ant colony system framework for the TCP problem, with the aim of maximizing the code coverage as soon as possible. In the proposed framework, an effective heuristic function is proposed to guide the ants to construct solutions based on additional statement coverage among remaining test cases. Besides, a sorting-based local search mechanism is proposed to further accelerate the convergence speed of the algorithm. Experimental results on different benchmark problems, and a real-world application, have shown that the proposed framework can outperform several state-of-the-art methods, in terms of solution quality and search efficiency.
引用
收藏
页码:1004 / 1020
页数:17
相关论文
共 63 条
  • [1] Effective product-line testing using similarity-based product prioritization
    Al-Hajjaji, Mustafa
    Thuem, Thomas
    Lochau, Malte
    Meinicke, Jens
    Saake, Gunter
    [J]. SOFTWARE AND SYSTEMS MODELING, 2019, 18 (01) : 499 - 521
  • [2] Building knowledge through families of experiments
    Basili, VR
    Lanubile, F
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (04) : 456 - 473
  • [3] Epistasis Based ACO for Regression Test Case Prioritization
    Bian, Yi
    Li, Zheng
    Zhao, Ruilian
    Gong, Dunwei
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTATIONAL INTELLIGENCE, 2017, 1 (03): : 213 - 223
  • [4] Bibai J., 2010, P 12 ANN C GEN EV CO, P241
  • [5] Bin Noor T, 2015, 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), P58, DOI 10.1109/ISSRE.2015.7381799
  • [6] Effect of code coverage on software reliability measurement
    Chen, MH
    Lyu, MR
    Wong, WE
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2001, 50 (02) : 165 - 170
  • [7] Code Coverage of Adaptive Random Testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Wong, W. Eric
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2013, 62 (01) : 226 - 237
  • [8] Dahiya O., 2018, INT J ENG TECHNOL, V7, P2184, DOI [10.14419/ijet.v7i4.15805, DOI 10.14419/IJET.V7I4.15805]
  • [9] A fast and elitist multiobjective genetic algorithm: NSGA-II
    Deb, K
    Pratap, A
    Agarwal, S
    Meyarivan, T
    [J]. IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2002, 6 (02) : 182 - 197
  • [10] A Test Case Prioritization Genetic Algorithm Guided by the Hypervolume Indicator
    Di Nucci, Dario
    Panichella, Annibale
    Zaidman, Andy
    De Lucia, Andrea
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (06) : 674 - 696