Learning from Faults: Mutation Testing in Active Automata Learning

被引:12
作者
Aichernig, Bernhard K. [1 ]
Tappler, Martin [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, Graz, Austria
来源
NASA FORMAL METHODS (NFM 2017) | 2017年 / 10227卷
关键词
Conformance testing; Mutation testing; FSM-based testing; Active automata learning; Minimally adequate teacher framework; FINITE-STATE MACHINES; ZULU;
D O I
10.1007/978-3-319-57288-8_2
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
System verification is often hindered by the absence of formal models. Peled et al. proposed black-box checking as a solution to this problem. This technique applies active automata learning to infer models of systems with unknown internal structure. This kind of learning relies on conformance testing to determine whether a learned model actually represents the considered system. Since conformance testing may require the execution of a large number of tests, it is considered the main bottleneck in automata learning. In this paper, we describe a randomised conformance testing approach which we extend with fault-based test selection. To show its effectiveness we apply the approach in learning experiments and compare its performance to a well-established testing technique, the partial W-method. This evaluation demonstrates that our approach significantly reduces the cost of learning - in one experiment by a factor of more than twenty.
引用
收藏
页码:19 / 34
页数:16
相关论文
共 29 条
[1]   Killing strategies for model-based mutation testing [J].
Aichernig, Bernhard K. ;
Brandl, Harald ;
Joebstl, Elisabeth ;
Krenn, Willibald ;
Schlick, Rupert ;
Tiran, Stefan .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (08) :716-748
[2]   LEARNING REGULAR SETS FROM QUERIES AND COUNTEREXAMPLES [J].
ANGLUIN, D .
INFORMATION AND COMPUTATION, 1987, 75 (02) :87-106
[3]  
[Anonymous], TCP MODELS
[4]  
[Anonymous], 2014, MQTT Version 3.1.1
[5]  
Berg T, 2005, LECT NOTES COMPUT SC, V3442, P175, DOI 10.1007/978-3-540-31984-9_14
[6]   Active learning for extended finite state machines [J].
Cassel, Sofia ;
Howar, Falk ;
Jonsson, Bengt ;
Steffen, Bernhard .
FORMAL ASPECTS OF COMPUTING, 2016, 28 (02) :233-263
[7]   TESTING SOFTWARE DESIGN MODELED BY FINITE-STATE MACHINES [J].
CHOW, TS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) :178-187
[8]  
Combe D, 2010, LECT NOTES ARTIF INT, V6062, P139, DOI 10.1007/978-3-642-14684-8_15
[9]  
de Ruiter J, 2015, PROCEEDINGS OF THE 24TH USENIX SECURITY SYMPOSIUM, P193
[10]  
emqtt, US