arrow
返回

Test case classification via few-shot learning

delete2023-08-01
delete1
PRE
AI
Y
Yuan Zhao
S
Sining Liu
Q
Quanjun Zhang
X
Xiuting Ge
J
Jia Liu *
DOI:10.1016/j.infsof.2023.107228delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Crowdsourced testing can reduce testing costs and improve testing efficiency. However, crowdsourced testing generates massive test cases, requiring testers to select high-quality test cases for execution. Conse-quently, crowdsourced test cases require much effort to perform labeling due to the costly manual labor and domain knowledge.Objective: Existing methods usually fail to consider the crowdsourced testing scenario's inadequate and imbalanced data issues. We aim to effectively and efficiently classify many crowdsourced test cases for developers to alleviate manual efforts. Method: In this paper, we propose a test case classification approach based on few-shot learning and test case augmentation to address the limitations mentioned above. The proposed approach generates new test cases by the large pre-trained masked language model and extracts embedding representation by training word embedding models. Then a Bidirectional Long Short-Term Memory (BiLSTM)-based classifier is designed to perform test case classification by extracting the in-depth features. Besides, we also apply the attention mechanism to assign high weights to words that represent the test case category by lexicon matching. Results: To verify the effectiveness of the classification framework, we select 1659 test cases from three crowdsourced testing projects to conduct in-usability evaluation experiments. The experimental results show that the proposed approach has a higher accuracy and precision rate than existing classification methods.Conclusion: It can be concluded that (1) the proposed approach is an effective test case classification technique for crowdsourced testing; (2) the proposed approach is practical to help developers select high-quality test cases quickly and effectively.
Keyword:
Test case classification
Few-shot learning
Attention mechanism

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

N
nanjing university
学者数:
7.8W
论文数: 5.6W
被引数: 87
引用论文

引用论文

A NEW CHRONOLOGY OF PAPERMAKING TECHNOLOGY
err1990-01-01
err0
PREAI
errThomas Collings; Derek Milner
err分享
err收藏
err分享
err收藏
The torsional spectra of jet-cooled methyl substituted indoles in the ground and first excited states
err1988-01-01
err0
PREAI
errGrant A. Bickel; Gary W. Leach; David R. Demmer; James W. Hager; Stephen C. Wallace
err分享
err收藏
err1998-01-01
err0
PREAI
errBruce J. Fried; Matthew C. Johnsen; Barbara E. Starrett; Michael O. Calloway; Joseph P. Morrissey
err分享
err收藏
Analysis on Purchase Intention of Indonesian Backpacker in Accommodation Booking through Online Travel Agent
err2019-01-01
err0
errOAAI
errAndre Parvian Aristio; S. Supardi; Rully Agus Hendrawan; Alifiansyah Arrizqy Hidayat
err分享
err收藏
Substrate-dependent shift of optimum pH in porcine pancreatic .alpha.-amylase-catalyzed reactions
err2002-05-01
err0
PREAI
errKazuhiko Ishikawa; Ikuo Matsui; Koichi Honda; Hiroshi Nakatani
err分享
err收藏
One-Year Brain Atrophy Evident in Healthy Aging在健康老龄化中明显的一年脑萎缩
err2009-12-02
err0
errOAAI
errAnders M. Fjell; Kristine B. Walhovd; Christine Fennema-Notestine; Linda K. McEvoy; Donald J. Hagler; Dominic Holland; James B. Brewer; Anders M. Dale
err分享
err收藏
Deep Learning-based Text Classification: A Comprehensive Review基于深度学习的文本分类综述
err2021-04-17
err587
PREAI
errMinaee, Shervin; Kalchbrenner, Nal; Cambria, Erik; Nikzad, Narjes; Chenaghlu, Meysam; Gao, Jianfeng
err分享
err收藏
学者 查看更多内容