Automatically learning usage behavior and generating event sequences for black-box testing of reactive systems

被引:2
作者
Kirac, M. Furkan [1 ]
Aktemur, Baris [1 ]
Sozer, Hasan [1 ]
Gebizli, Ceren Sahin [2 ]
机构
[1] Ozyegin Univ, Comp Sci, Istanbul, Turkey
[2] Vestel Elect, Manisa, Turkey
关键词
Test case generation; Black-box testing; Recurrent neural networks; Long short-term memory networks; Learning usage behavior; MODEL;
D O I
10.1007/s11219-018-9439-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a novel technique based on recurrent artificial neural networks to generate test cases for black-box testing of reactive systems. We combine functional testing inputs that are automatically generated from a model together with manually-applied test cases for robustness testing. We use this combination to train a long short-term memory (LSTM) network. As a result, the network learns an implicit representation of the usage behavior that is liable to failures. We use this network to generate new event sequences as test cases. We applied our approach in the context of an industrial case study for the black-box testing of a digital TV system. LSTM-generated test cases were able to reveal several faults, including critical ones, that were not detected with existing automated or manual testing activities. Our approach is complementary to model-based and exploratory testing, and the combined approach outperforms random testing in terms of both fault coverage and execution time.
引用
收藏
页码:861 / 883
页数:23
相关论文
共 61 条
[1]  
Agruss C., 2000, FLORIDA I TECHNOLOGY, P68
[2]   MobiGUITAR Automated Model-Based Testing of Mobile Apps [J].
Amalfitano, Domenico ;
Fasolino, Anna Rita ;
Tramontana, Porfirio ;
Ta, Bryan Dzung ;
Memon, Atif M. .
IEEE SOFTWARE, 2015, 32 (05) :53-59
[3]  
[Anonymous], 2006, QUALITY ASSURANCE I
[4]  
[Anonymous], 2007, Reactive Systems: Modelling, Specification and Verification
[5]  
Bach J., 2003, TECH REP
[6]   The Oracle Problem in Software Testing: A Survey [J].
Barr, Earl T. ;
Harman, Mark ;
McMinn, Phil ;
Shahbaz, Muzammil ;
Yoo, Shin .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) :507-525
[7]   Event-based modelling, analysis and testing of user interactions: approach and case study [J].
Belli, F ;
Budnik, CJ ;
White, L .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2006, 16 (01) :3-32
[8]   Finite state testing and analysis of graphical user interfaces [J].
Belli, F .
12TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2001, :34-43
[9]  
Berner S, 2005, PROC INT CONF SOFTW, P571
[10]  
Bottou L., 2012, NEURAL NETWORKS TRIC, P421, DOI DOI 10.1007/978-3-642-35289-8_25