Exploiting Model Morphology for Event-Based Testing

被引:8
作者
Belli, Fevzi [1 ,2 ]
Beyazit, Mutlu [3 ]
机构
[1] Univ Paderborn, Dept Elect Engn & Informat Technol, D-33098 Paderborn, Germany
[2] Izmir Inst Technol, Dept Comp Engn, Izmir, Turkey
[3] Yasar Univ, Dept Comp Engn, Izmir, Turkey
关键词
Model-based mutation testing; grammar-based testing; (model) morphology; mutant selection; test generation; MUTATION; GENERATION;
D O I
10.1109/TSE.2014.2360690
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model-based testing employs models for testing. Model-based mutation testing (MBMT) additionally involves fault models, called mutants, by applying mutation operators to the original model. A problem encountered with MBMT is the elimination of equivalent mutants and multiple mutants modeling the same faults. Another problem is the need to compare a mutant to the original model for test generation. This paper proposes an event-based approach to MBMT that is not fixed on single events and a single model but rather operates on sequences of events of length k >= 1 and invokes a sequence of models that are derived from the original one by varying its morphology based on k. The approach employs formal grammars, related mutation operators, and algorithms to generate test cases, enabling the following: (1) the exclusion of equivalent mutants and multiple mutants; (2) the generation of a test case in linear time to kill a selected mutant without comparing it to the original model; (3) the analysis of morphologically different models enabling the systematic generation of mutants, thereby extending the set of fault models studied in related literature. Three case studies validate the approach and analyze its characteristics in comparison to random testing and another MBMT approach.
引用
收藏
页码:113 / 134
页数:22
相关论文
共 50 条
[21]   Model Based Testing of Concurrent Systems Based on Reachability Graph Reduction [J].
Cheremisinov, D. ;
Cheremisinova, L. .
PATTERN RECOGNITION AND IMAGE ANALYSIS, 2020, 30 (01) :7-15
[22]   TESTING IN SOFTWARE PRODUCT LINES A Model based Approach [J].
Reales Mateo, Pedro ;
Polo Usaola, Macario ;
Caivano, Danilo .
ICEIS 2011: PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL 3, 2011, :46-54
[23]   Workshop on advances in model-based software testing [J].
Dalal, S ;
Jain, A ;
Poore, J .
ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, :680-680
[24]   Passive testing of production systems based on model inference [J].
Durand, William ;
Salva, Sebastien .
2015 ACM/IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR CODESIGN (MEMOCODE), 2015, :138-147
[25]   Search-based reduction model for unit testing [J].
Fernandez-Oliva, Perla Beatriz ;
Guemes-Esperon, Alejandro Miguel ;
Delgado-Dapena, Martha Dunia ;
Rosete, Alejandro .
REVISTA FACULTAD DE INGENIERIA-UNIVERSIDAD DE ANTIOQUIA, 2023, (109) :35-47
[26]   Test Oracle Strategies for Model-Based Testing [J].
Li, Nan ;
Offutt, Jeff .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (04) :372-395
[27]   Model Checking-Based Testing of Web Applications [J].
ZENG HongweiMIAO Huaikou School of Computer Engineering and ScienceShanghai UniversityShanghai China .
WuhanUniversityJournalofNaturalSciences, 2007, (05) :922-926
[28]   Model-Based Testing of Obligatory ABAC Systems [J].
Khamaiseh, Samer ;
Chapman, Patrick ;
Xu, Dianxiang .
2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2018), 2018, :405-413
[29]   Testing Web Services with Model-Based Mutation [J].
Siavashi, Faezeh ;
Iqbal, Junaid ;
Truscan, Dragos ;
Vain, Juri .
SOFTWARE TECHNOLOGIES, 2017, 743 :45-67
[30]   Model Transformation Testing and Debugging: A Survey [J].
Troya, Javier ;
Segura, Sergio ;
Burgueno, Lola ;
Wimmer, Manuel .
ACM COMPUTING SURVEYS, 2023, 55 (04)