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 条
  • [21] Experimental Comparison of Code-Based and Model-Based Test Prioritization
    Korel, Bogdan
    Koutsogiannakis, George
    ICSTW 2009: IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION WORKSHOPS, 2009, : 77 - 84
  • [22] Model-Based Test Case Prioritization Using UML Activity Diagram and Design Level Attributes
    Dash, Shaswati
    Panda, Namita
    Acharya, Arup Abhinna
    INFORMATION SYSTEMS DESIGN AND INTELLIGENT APPLICATIONS, INDIA 2017, 2018, 672 : 380 - 390
  • [23] Model-based test case prioritization using cluster analysis: a soft-computing approach
    Gokce, Nida
    Belli, Fevzi
    Eminli, Mubariz
    Dincer, Bekir Taner
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2015, 23 (03) : 623 - +
  • [24] Adaptive Particle Swarm Optimization Algorithm and Application Model Based on Diversity-Driven Optimization
    Ming, Jingwei
    Xie, Zhiqiang
    IEEE ACCESS, 2024, 12 : 170707 - 170720
  • [25] Model-Based Test Case Prioritization Using an Alternating Variable Method for Regression Testing of a UML-Based Model
    Shin, Ki-Wook
    Lim, Dong-Jin
    APPLIED SCIENCES-BASEL, 2020, 10 (21): : 1 - 23
  • [26] A Learning-to-Rank Based Approach for Improving Regression Test Case Prioritization
    Lin, Chu-Ti
    Yuan, Sheng-Hsiang
    Intasara, Jutarporn
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 576 - 577
  • [27] Diversity-driven automated web API recommendation based on implicit requirements
    Kou, Huaizhen
    Xu, Jian
    Qi, Lianyong
    APPLIED SOFT COMPUTING, 2023, 136
  • [28] Improving Early Fault Detection in Machine Learning Systems Using Data Diversity-Driven Metamorphic Relation Prioritization
    Srinivasan, Madhusudan
    Kanewala, Upulee
    ELECTRONICS, 2024, 13 (17)
  • [29] Enki: A Diversity-driven Approach to Test and Train Robust Learning-enabled Systems
    Langford, Michael Austin
    Cheng, Betty H. C.
    ACM TRANSACTIONS ON AUTONOMOUS AND ADAPTIVE SYSTEMS, 2021, 15 (02)
  • [30] Model-based prioritization for acquiring protection
    Tashjian, Sarah M.
    Wise, Toby
    Mobbs, Dean
    PLOS COMPUTATIONAL BIOLOGY, 2022, 18 (12)