Title :
An Approach to Transforming UML Model to FSM Model for Automatic Testing
Author :
Wang, Xi ; Guo, Liang ; Miao, Huaikou
Author_Institution :
Sch. of Comput. Eng. & Sci., Shanghai Univ., Shanghai
Abstract :
The need for automatic testing of large-scale Web applications suggests the use of model-based testing technology. Among various modeling languages, UML is widely spread and used for its simplicity, understandability and ease of use. But rigorous analysis for UML model is difficult due to its lack of precise semantics. On the other hand, as a formal notation, FSM provides an avenue for automatic generation of test cases. This paper proposes an approach to transforming UML model to FSM model, taking advantage of both languages. As our work focuses on the transformation of UML state diagrams to FSM models, a specific transformation mechanism is presented, which deals with different elements with different mapping rules. To illustrate the mechanism we proposed, an example of a Web application is presented. Finally, we give a method for implementation of the mechanism and a tool prototype to support the method.
Keywords :
Internet; Unified Modeling Language; finite state machines; program testing; UML model; Web application; automatic testing; finite state machine model; formal notation; model-based testing technology; modeling languages; Application software; Automatic testing; Computer science; Large-scale systems; Prototypes; Software engineering; Software quality; Software testing; System testing; Unified modeling language; FSM; UML state diagram; model transformation;
Conference_Titel :
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location :
Wuhan, Hubei
Print_ISBN :
978-0-7695-3336-0
DOI :
10.1109/CSSE.2008.700