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 条
  • [1] Coverage-Based Clustering and Scheduling Approach for Test Case Prioritization
    Fu, Wenhao
    Yu, Huiqun
    Fan, Guisheng
    Ji, Xiang
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2017, E100D (06): : 1218 - 1230
  • [2] Coverage-based regression test case selection, minimization and prioritization: a case study on an industrial system
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (04): : 371 - 396
  • [3] A Code Coverage-Based Test Suite Reduction and Prioritization Framework
    Khan, Saif Ur Rehman
    Lee, Sai Peck
    Parizi, Reza Meimandi
    Elahi, Manzoor
    2014 4TH WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2014, : 229 - 234
  • [4] Test Case Prioritization for Regression Testing Based on Ant Colony Optimization
    Gao, Dongdong
    Guo, Xiangying
    Zhao, Lei
    PROCEEDINGS OF 2015 6TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE, 2015, : 275 - 279
  • [5] Code Coverage-Based Regression Test Selection and Prioritization in WebKit
    Beszedes, Arpad
    Gergely, Tamas
    Schrettner, Lajos
    Jasz, Judit
    Lango, Laszlo
    Gyimothy, Tibor
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 46 - 55
  • [6] Fault Coverage-Based Test Case Prioritization and Selection Using African Buffalo Optimization
    Singhal, Shweta
    Jatana, Nishtha
    Subahi, Ahmad F.
    Gupta, Charu
    Khalaf, Osamah Ibrahim
    Alotaibi, Youseef
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 74 (03): : 6755 - 6774
  • [7] Incorporating fault-proneness estimations into coverage-based test case prioritization methods
    Mandieh, Mostafa
    Mirian-Hosseinabadi, Seyed-Hassan
    Etemadi, Khashayar
    Nosrati, Ali
    Jalali, Sajad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 121
  • [8] Optimum Test Suite Using Fault-Type Coverage-Based Ant Colony Optimization Algorithm
    Bharathi, M.
    INTERNATIONAL JOURNAL OF APPLIED METAHEURISTIC COMPUTING, 2022, 13 (01)
  • [9] Study of Test Cases Prioritization Based on Ant Colony Algorithm
    Chen, Lulu
    Zhang, Ling
    INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY, PTS 1-4, 2013, 263-266 : 2168 - 2172
  • [10] Coverage-Based Test Case Prioritisation: An Industrial Case Study
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 302 - 311