Title :
Consistency checking and test generation for UML statechart diagram via extended context-free grammar
Author :
Liping Li ; Tao He ; Shan Tang
Author_Institution :
Comput. & Inf. Inst., Shanghai Second Polytech. Univ., Shanghai, China
Abstract :
UML statechart diagram is an important, visual, graphic tool to describe the dynamic behavior of the software system. This paper proposes an approach to checking the consistency and generating test cases from UML statechart specification through extended context-free grammar (ECFG). Our system input the UML statechart and ECFG, which is considered as external events, to perform an automated consistency simulation for UML specification. Firstly, we design algorithm to transform statechart diagram into a labeled transition system. Then, we introduced the concept of PLAY-Tree. The consistency checking of UML statechart specification is defined as whether there exists a corresponding PLAY-Tree with all successful branches. Finally, the parsing of ECFG conforming to PLAY-Tree contains all possible test cases for UML statechart.
Keywords :
Unified Modeling Language; context-free grammars; diagrams; program testing; ECFG; PLAY-Tree; UML statechart diagram; UML statechart specification; automated consistency simulation; consistency checking; extended context-free grammar; labeled transition system; parsing; software system dynamic behavior; test case generation; visual graphic tool; Consistency Checking; Context-Free Grammar; Specification; Test cases; UML Statechart diagram;
Conference_Titel :
Information Science and Service Science and Data Mining (ISSDM), 2012 6th International Conference on New Trends in
Conference_Location :
Taipei
Print_ISBN :
978-1-4673-0876-2