A Graph Transformation Approach for Automatic Test Cases Generation from UML Activity Diagrams

Abdelkamel Hettab, Elhillali Kerkouche, Allaoua Chaoui · 2008

The automatic test cases generation from the UML specification reduces the time and the cost of software development. UML Activity Diagram is one of the behavioral models used for modeling the global behavior of systems. In this paper, we use the graph transformation techniques and AToM3 tool to generate test cases from UML Activity Diagrams. For this purpose, we propose two graph grammars. The first one transforms the UML Activity Diagram into an intermediate graph which we call EADG (Extended Activity Dependency Graph). The EADG model is an extension of Activity Dependency Graph that captures all features of the Activity Diagram relevant to the test cases generation. The second graph grammar generates the set of test cases from the EADG model according to the hybrid coverage criteria. An example has been presented to illustrate our approach.

Read the paper · More papers on PaperTik