Mining Auto-Generated Test Inputs for Test Oracle

被引:2
作者
Xu, Weifeng [1 ]
Wang, Hanlin [1 ]
Ding, Tao [1 ]
机构
[1] Gannon Univ, Dept Comp & Informat Sci, Erie, PA 16541 USA
来源
PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS | 2013年
关键词
Mining test inputs; test oracle; decision tree; domain partitioning;
D O I
10.1109/ITNG.2013.126
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A Search-based test input generator produces a high volume of auto-generated test inputs. However, manually checking a test oracle for these test inputs is impractical due to the lacking of a systematic way to produce corresponding expected results automatically. This paper presents a mining approach to build decision tree models containing the estimated expected results for checking a test oracle. We first choose a subset of the auto-generated test inputs as a training set. Then, we mine the training set to generate a decision tree from which the estimated expected results can be retrieved. For evaluation purpose, we have applied our approach to two legacy examples, Triangle and NextDate. Our controlled experiments have shown that the mining approach is able to generate highly accurate behavioral models and achieve strong fault detectability.
引用
收藏
页码:89 / 94
页数:6
相关论文
共 14 条
[1]  
[Anonymous], 2014, C4. 5: programs for machine learning
[2]   A Theoretical and Empirical Study of Search-Based Testing: Local, Global, and Hybrid Search [J].
Harman, Mark ;
McMinn, Phil .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (02) :226-247
[3]  
Jin H., 2008, INT C COMP SCI SOFTW
[4]  
Jorgensen P., 2008, Software Testing: A Craftsman's Approach, VThird
[5]   Using data mining for Automated Software Testing [J].
Last, M ;
Friedman, M ;
Kandel, A .
INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2004, 14 (04) :369-393
[6]  
M. L. Group, WEK 3 DAT MIN SOFTW
[7]  
Mayer J., 2004, P 1 INT WORKSH SOFTW
[8]  
Miller E., 1978, SOFTWARE TESTING VAL, P16
[9]  
MORET BME, 1982, COMPUT SURV, V14, P593, DOI 10.1145/356893.356898
[10]  
Myers G, 1979, Art of Software Testing