Automatic scenario-oriented test case generation from UML activity diagrams: a graph transformation and simulation approach
by Abdelkamel Hettab; Allaoua Chaoui; Mohamed Boubakir; Elhillali Kerkouche
International Journal of Computer Aided Engineering and Technology (IJCAET), Vol. 16, No. 3, 2022

Abstract: Model-based testing (MBT) is an activity that allows designing and generating test cases from the initial specification of the system under test (SUT). Unified modelling language (UML) is a standard for model-based specifications, while UML-ADs (UML activity diagrams) are usually used for modelling the overall behaviour of systems. This paper presents a graph transformation-based approach to generate automatically scenario-oriented test cases from UML-ADs. To facilitate the test scenario generation process, an intermediate model called extended activity dependency graph (EADG) is proposed. The approach consists of generating EADG models from UML-ADs. Then, test scenarios are generated from the obtained EADG models. This approach also allows testers to validate their proposed test scenarios by applying them on UML-ADs using a graphical simulation. All ideas presented above are implemented using the graph transformation tool AToM3. To this end, two meta-models and three graph grammars are proposed for presenting and generating EADG and test scenarios models, and for performing the graphical simulation. The approach is applied on a case study and experimental results show that our approach has a high rate of fault-detection capability. This approach can detect more defects in complex structures of concurrency and nested loops.

Online publication date: Mon, 11-Apr-2022

  Free full text Access Free full text access

If you still need assistance, please email subs@inderscience.com