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

被引:0
作者
M. Furkan Kıraç
Barış Aktemur
Hasan Sözer
Ceren Şahin Gebizli
机构
[1] Ozyegin University,
[2] Vestel Electronics,undefined
来源
Software Quality Journal | 2019年 / 27卷
关键词
Test case generation; Black-box testing; Recurrent neural networks; Long short-term memory networks; Learning usage behavior;
D O I
暂无
中图分类号
学科分类号
摘要
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
页数:22
相关论文
共 63 条
[1]  
Amalfitano D(2015)MobiGUITAR: automated model-based testing of mobile apps IEEE Software 32 53-59
[2]  
Fasolino A(2015)The oracle problem in software testing: a survey IEEE Transactions on Software Engineering 41 507-525
[3]  
Tramontana P(2006)Event-based modelling, analysis and testing of user interactions: approach and case study Software Testing Verification and Reliability 16 3-32
[4]  
Ta B(2005)M.F.: leveraging user-session data to support web application testing IEEE Transactions on Software Engineering 31 187-202
[5]  
Memon A(1996)The chaining approach for software test data generation ACM Transactions on Software Engineering and Methodology 5 63-86
[6]  
Barr E(2001)LSTM recurrent networks learn simple context-free and context-sensitive languages IEEE Transactions on Neural Networks 12 1333-1340
[7]  
Harman M(2017)LSTM: a search space odyssey IEEE Transactions on Neural Networks and Learning Systems 28 2222-2232
[8]  
McMinn P(1987)Statecharts: a visual formalism for complex systems Science of Computer Programming 8 231-274
[9]  
Shahbaz M(1997)Long short-term memory Neural Computing 9 1735-1780
[10]  
Yoo S(2018)VISOR: a fast image processing pipeline with scaling and translation invariance for test oracle automation of visual output systems Journal of Systems and Software 136 266-277