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 条
  • [31] Search algorithms for regression test case prioritization
    Li, Zheng
    Harman, Mark
    Hierons, Robert M.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (04) : 225 - 237
  • [32] Assessing Test Case Prioritization on Real Faults and Mutants
    Luo, Qi
    Moran, Kevin
    Poshyvanyk, Denys
    Di Penta, Massimiliano
    [J]. PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 240 - 251
  • [33] A Large-Scale Empirical Comparison of Static and Dynamic Test Case Prioritization Techniques
    Luo, Qi
    Moran, Kevin
    Poshyvanyk, Denys
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 559 - 570
  • [34] Combining Code and Requirements Coverage with Execution Cost for Test Suite Reduction
    Marchetto, Alessandro
    Scanniello, Giuseppe
    Susi, Angelo
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (04) : 363 - 390
  • [35] Classification with ant colony optimization
    Martens, David
    De Backer, Manu
    Haesen, Raf
    Vanthienen, Jan
    Snoeck, Monique
    Baesens, Bart
    [J]. IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2007, 11 (05) : 651 - 665
  • [36] Preemptive Regression Testing of Workflow-Based Web Services
    Mei, Lijun
    Chan, W. K.
    Tse, T. H.
    Jiang, Bo
    Zhai, Ke
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2015, 8 (05) : 740 - 754
  • [37] A Subsumption Hierarchy of Test Case Prioritization for Composite Services
    Mei, Lijun
    Cai, Yan
    Jia, Changjiang
    Jiang, Bo
    Chan, W. K.
    Zhang, Zhenyu
    Tse, T. H.
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2015, 8 (05) : 658 - 673
  • [38] 2 VIEWS OF GENERALITY
    MILLER, TC
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS, 1986, 16 (03): : 450 - 453
  • [39] FAST Approaches to Scalable Similarity-based Test Case Prioritization
    Miranda, Breno
    Cruciani, Emilio
    Verdecchia, Roberto
    Bertolino, Antonia
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 222 - 232
  • [40] Nagappan Meiyappan, 2013, P 2013 9 JOINT M FDN, P466, DOI [10.1145/2491411.2491415, DOI 10.1145/2491411.2491415]