Model-based diversity-driven learn-to-rank test case prioritization

被引:0
|
作者
Shu, Ting [1 ]
He, Zhanxiang [1 ]
Yin, Xuesong [2 ]
Ding, Zuohua [1 ]
Zhou, Mengchu [3 ]
机构
[1] Zhejiang Sci Tech Univ, Phys Dept, Hangzhou 310018, Peoples R China
[2] Hangzhou Dianzi Univ, Sch Media & Design, Hangzhou 310018, Peoples R China
[3] New Jersey Inst Technol, Dept Elect & Comp Engn, Newark, NJ 07102 USA
基金
中国国家自然科学基金;
关键词
Model based testing; Similarity metric; Machine learning; Test case prioritization; FEATURE-SELECTION; SEQUENCE; SOFTWARE; CONTEXT; SET;
D O I
10.1016/j.eswa.2024.124768
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Model-based Test Case Prioritization utilizing similarity metrics has proved effective in software testing. However, the utility of similarity metrics in it varies with test scenarios, hindering its universal effectiveness and performance optimization. To tackle this problem, we propose a Diversity-driven Learn-to-rank model- based TCP approach, named DLTCP, for optimizing early fault detection performance. Our method first employs the whale optimization algorithm to search for a suitable set of similarity metrics from a pool of existing candidates. This search process determines which metrics should be used. According to each selected metric, test cases are then prioritized. The resulting test case rankings are used as the training data for DLTCP. Finally, the proposed method incorporates random forest to train a ranking model for test case prioritization. As such, it can fuse multiple similarity metrics to improve the TCP performance. We conduct extensive experiments to evaluate our method's performance using the average percentage fault detected (APFD) as metric. The experimental results show that DLTCP achieve an average APFD value of 0.953 for seven classic benchmark models, which is 11.37% higher than that of the state-of-the-art algorithms. It can well select a set of similarity metrics for effective fusion, demonstrating competitive performance in early fault detection.
引用
收藏
页数:20
相关论文
共 50 条
  • [31] Test Suite Prioritization for Efficient Regression Testing of Model-based Automotive Software
    Morozov, Andrey
    Ding, Kai
    Chen, Tao
    Janschek, Klaus
    2017 ANNUAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2017), 2017, : 20 - 29
  • [32] Model-Based Test Sequence Generation and Prioritization Using Ant Colony Optimization
    Nayak, Gayatri
    Ray, Mitrabinda
    JOURNAL OF INFORMATION TECHNOLOGY RESEARCH, 2022, 15 (01)
  • [33] A generic model-based test case generator
    Popovic, M
    Velikic, I
    12TH IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, 2005, : 221 - 228
  • [34] Test case prioritization for model transformations
    Iqbal, Saqib
    Al-Azzoni, Issam
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (08) : 6324 - 6338
  • [35] Enhancing Acceptance Test-Driven Development with Model-based Test Generation
    Ramler, Rudolf
    Klammer, Claus
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 503 - 504
  • [36] Model-based test driven development of the Tefkat model-transformation engine
    Steel, J
    Lawley, M
    15TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2004, : 151 - 160
  • [37] Model Based Test Case Prioritization Using Association Rule Mining
    Acharya, Arup Abhinna
    Mahali, Prateeva
    Mohapatra, Durga Prasad
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, VOL 3, 2015, 33
  • [38] Model-based test case prioritization using selective and even-spread count-based methods with scrutinized ordering criterion
    Mohd-Shafie, Muhammad Luqman
    Wan-Kadir, Wan Mohd Nasir
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    PLOS ONE, 2020, 15 (02):
  • [39] Diversity-based Test Case Prioritization Technique to Improve Faults Detection Rate
    Nuh, Jamal Abdullahi
    Koh, Tieng Wei
    Baharom, Salmi
    Osman, Mohd Hafeez
    Babangida, Lawal
    Letchmunan, Sukumar
    Kew, Si Na
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (06) : 927 - 934
  • [40] Combining algebraic and model-based test case generation
    Dan, L
    Aichernig, BK
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2004, 2005, 3407 : 250 - 264