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 条
  • [41] Model-Based Test Case Generation for Web Applications
    Nabuco, Miguel
    Paiva, Ana C. R.
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, PART VI - ICCSA 2014, 2014, 8584 : 248 - 262
  • [42] A multiple parameter test case prioritization model
    Aggarwal, K. K.
    Singh, Yogesh
    Kaur, Arvinder
    JOURNAL OF STATISTICS & MANAGEMENT SYSTEMS, 2005, 8 (02): : 369 - 386
  • [43] Classification Model for Test Case Prioritization Techniques
    Sujata
    Purohit, G. N.
    2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA), 2017, : 919 - 924
  • [44] Diversity-driven generation of link-based cluster ensemble and application to data classification
    Iam-On, Natthakan
    Boongoen, Tossapon
    EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (21) : 8259 - 8273
  • [45] Increasing test efficiency by risk-driven model-based testing
    Gebizli, Ceren Sahin
    Kirkici, Abdulhadi
    Sozer, Hasan
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 144 : 356 - 365
  • [46] Context-based and Diversity-driven Specificity in Compositional Zero-Shot Learning
    Li, Yun
    Liu, Zhe
    Chen, Hang
    Yao, Lina
    2024 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2024, : 17037 - 17046
  • [47] A particle swarm optimization algorithm based on diversity-driven fusion of opposing phase selection strategies
    Xu, Jiucheng
    Xu, Shihui
    Zhang, Lei
    Zhou, Changshun
    Han, Ziqin
    COMPLEX & INTELLIGENT SYSTEMS, 2023, 9 (06) : 6611 - 6643
  • [48] Black-Box Test Case Prioritization Using Log Analysis and Test Case Diversity
    Yu, Xiaolei
    Jia, Kai
    Hu, Wenhua
    Tian, Jing
    Xiang, Jianwen
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 186 - 191
  • [49] Model-Based Web Components Testing: A Prioritization Approach
    Al-Herz, Ahmed
    Ahmed, Moataz
    SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 25 - 40
  • [50] Modular Based Multiple Test Case Prioritization
    Prakash, N.
    Rangaswamy, T. R.
    2012 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2012, : 496 - 502