Test Case Reuse Based on Software Testing Knowledge Graph and Collaborative Filtering Recommendation Algorithm

被引:3
|
作者
Yang, Wansheng [1 ]
Deng, Fei [1 ]
Ma, Siyou [1 ]
Wu, Linbo [1 ]
Sun, Zhe [1 ]
Hu, Chi [1 ]
机构
[1] China Acad Engn Phys, Inst Comp Applicat, Mianyang, Sichuan, Peoples R China
关键词
software testing knowledge graph; collaborative filtering; BERT plus Bi-LSTM-CRF; defect-occurrence-chain; overt variable factorization model;
D O I
10.1109/QRS-C55045.2021.00020
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As an important role of software test, the reuse of test cases is essential in terms of finding software defects and locating the causes of them. However, the existing related approaches are insufficient to establish an internal relationship between test cases and defects and their abilities to find or diagnose errors are limited. In this paper, an ontology model based on the software testing process is applied to establish a software testing knowledge graph, which serves as the foundation to build an recommendation system. Specifically, the recommendation system takes the functions of software under test as the "user", and the defect-occurrence-chain which establishes the correlation between test cases and defects in the knowledge graph as the "item". Both of them provide the evidence to build collaborative filtering recommendation algorithm based on the user-item scoring matrix. It aims to assist testers in recommending reusable test cases to identify software errors effectively. Against this background, the BERT+Bi-LSTM-CRF model is selected to extract the latent test requirements of the software under test, and an overt variable factorization model is built so as to iteratively optimize the user-item scoring matrix. Further, an empirical study has been conducted, and it is found that the recommended test cases can significantly help testers find software defects faster in a more efficient way, and locate defects more accurately.
引用
收藏
页码:67 / 76
页数:10
相关论文
共 50 条
  • [21] Logistic recommendation algorithm based on collaborative filtering
    Zhang Xiaoyu
    Dai Chaofan
    Zhao yanpeng
    PROCEEDINGS OF THE 2015 2ND INTERNATIONAL WORKSHOP ON MATERIALS ENGINEERING AND COMPUTER SCIENCES (IWMECS 2015), 2015, 33 : 865 - 868
  • [22] Collaborative filtering recommendation algorithm based on spark
    Tao J.
    Gan J.
    Wen B.
    International Journal of Performability Engineering, 2019, 15 (03) : 930 - 938
  • [23] A Collaborative Filtering Recommendation Algorithm Based on Biclustering
    Wang, Jiasheng
    Song, Hong
    Zhou, Xiaofeng
    2015 IEEE INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2015, : 803 - 807
  • [24] A Book Recommendation Algorithm Based on Collaborative Filtering
    Zhu, Yuanqing
    PROCEEDINGS OF 2016 5TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT), 2016, : 286 - 289
  • [25] Research on Recommendation Algorithm Based on Collaborative Filtering
    Zhang Shichang
    PROCEEDINGS OF 2021 2ND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INFORMATION SYSTEMS (ICAIIS '21), 2021,
  • [26] An Improved Collaborative Filtering Recommendation Algorithm Based on Case-Based Reasoning
    Xing, Lei
    Xu, Cunlu
    Wang, Wei
    Kang, Zefu
    PROCEEDINGS OF 2015 4TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2015), 2015, : 740 - 744
  • [27] Personalized Course Recommendation System Fusing with Knowledge Graph and Collaborative Filtering
    Xu, Gongwen
    Jia, Guangyu
    Shi, Lin
    Zhang, Zhijun
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2021, 2021
  • [28] Knowledge Graph Embedding Based Collaborative Filtering
    Zhang, Yuhang
    Wang, Jun
    Luo, Jie
    IEEE ACCESS, 2020, 8 : 134553 - 134562
  • [29] Collaborative Filtering-based Test Case Prioritization and Reduction for Software Product-Line Testing
    Kumar, Satendra
    Rajkumar
    Rani, Monika
    PROCEEDINGS OF THE 2019 IEEE REGION 10 CONFERENCE (TENCON 2019): TECHNOLOGY, KNOWLEDGE, AND SOCIETY, 2019, : 498 - 503
  • [30] RETRACTED: Collaborative Filtering Recommendation Algorithm Based on Knowledge Graph (Retracted article. See vol. 2019, 2019)
    Mu, Ruihui
    Zeng, Xiaoqin
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2018, 2018