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
相关论文
共 50 条
  • [21] A Multi-factored Cost- and Code Coverage-Based Test Case Prioritization Technique for Object-Oriented Software
    Vedpal
    Chauhan, Naresh
    SOFTWARE ENGINEERING (CSI 2015), 2019, 731 : 27 - 36
  • [22] Test Case Prioritization Algorithm Based on Improved Code Coverage
    Zhu, Yanan
    Liu, Feng
    IAENG International Journal of Computer Science, 2023, 50 (02)
  • [23] Sorting-based partial distortion search algorithm for motion estimation
    Hong, WG
    Oh, TM
    ELECTRONICS LETTERS, 2004, 40 (02) : 113 - 115
  • [24] A Multiobjective Coverage-Based Model for Civilian Search and Rescue
    Asiedu, Yaw
    Rempel, Mark
    NAVAL RESEARCH LOGISTICS, 2011, 58 (03) : 167 - 179
  • [25] Topological sorting-based two-stage nested ant colony algorithm for job-shop scheduling problem
    Luo, Yabo
    Jixie Gongcheng Xuebao/Journal of Mechanical Engineering, 2015, 51 (08): : 178 - 184
  • [26] A New Ant Colony Algorithm Based on Dynamic Local Search for TSP
    Qin, Haisheng
    Zhou, Shulun
    Huo, Ling
    Luo, Jie
    2015 FIFTH INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS AND NETWORK TECHNOLOGIES (CSNT2015), 2015, : 913 - 917
  • [27] Model-Based Test Sequence Generation and Prioritization Using Ant Colony Optimization
    Nayak, Gayatri
    Ray, Mitrabinda
    JOURNAL OF INFORMATION TECHNOLOGY RESEARCH, 2022, 15 (01)
  • [28] Local Search based Ant Colony Optimization for Scheduling in Cloud Computing
    Gondhi, Naveen Kumar
    Sharma, Aditya
    2015 SECOND INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING AND COMMUNICATION ENGINEERING ICACCE 2015, 2015, : 432 - 436
  • [29] Coverage-based Test Cases Selection for XACML Policies
    Bertolino, Antonia
    Le Traon, Yves
    Lonetti, Francesca
    Marchetti, Eda
    Mouelhi, Tejeddine
    2014 SEVENTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2014), 2014, : 12 - 21
  • [30] Factor oriented requirement coverage based system test case prioritization of new and regression test cases
    Krishnamoorthi, R.
    Mary, S. A. Sahaaya Arul
    INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (04) : 799 - 808