Efficient Active Automata Learning via Mutation Testing

被引:18
作者
Aichernig, Bernhard K. [1 ]
Tappler, Martin [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, Graz, Austria
关键词
Conformance testing; Mutation testing; FSM-based testing; Active automata learning; Minimally adequate teacher framework; FINITE-STATE MACHINES;
D O I
10.1007/s10817-018-9486-0
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 multiple experiments, we reduce the cost by at least one order of magnitude.
引用
收藏
页码:1103 / 1134
页数:32
相关论文
共 35 条
[1]  
Aichernig Bernhard K., 2014, Tests and Proofs. 8th International Conference (TAP 2014). Held as Part of STAF 2014. Proceedings: LNCS 8570, P1, DOI 10.1007/978-3-319-09099-3_1
[2]   Model Learning and Model-Based Testing [J].
Aichernig, Bernhard K. ;
Mostowski, Wojciech ;
Mousavi, Mohammad Reza ;
Tappler, Martin ;
Taromirad, Masoumeh .
MACHINE LEARNING FOR DYNAMIC SOFTWARE ANALYSIS: POTENTIALS AND LIMITS, 2018, 11026 :74-100
[3]   Learning from Faults: Mutation Testing in Active Automata Learning [J].
Aichernig, Bernhard K. ;
Tappler, Martin .
NASA FORMAL METHODS (NFM 2017), 2017, 10227 :19-34
[4]   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
[5]   LEARNING REGULAR SETS FROM QUERIES AND COUNTEREXAMPLES [J].
ANGLUIN, D .
INFORMATION AND COMPUTATION, 1987, 75 (02) :87-106
[6]  
[Anonymous], 2016, TCP MODELS
[7]  
[Anonymous], 2014, MQTT VERSION 3 1 1
[8]  
[Anonymous], 2003, THESIS
[9]  
Berg T, 2005, LECT NOTES COMPUT SC, V3442, P175, DOI 10.1007/978-3-540-31984-9_14
[10]   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