Test Case Reuse Based on Software Testing Knowledge Graph and Collaborative Filtering Recommendation Algorithm
Wansheng Yang, Fei Deng, Siyou Ma et al. · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · 2021
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.
Cited by 4 works. doi:10.1109/qrs-c55045.2021.00020
Authors
References
- Neural Architectures for Named Entity Recognition
- Collaborative Deep Learning for Recommender Systems
- Knowledge Graph Embedding: A Survey of Approaches and Applications
- Unsupervised sentiment analysis with emotional signals
- The Impact of Artificial Intelligence on Software Testing
- Entity-level sentiment analysis of issue comments
- Intelligent Development Environment and Software Knowledge Graph
- A Mining Approach to Obtain the Software Vulnerability Characteristics
- Analyzing and documenting the systematic review results of software testing ontologies
- An Ontology for Guiding Performance Testing