This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2008 Ninth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing
Test Sequence Generation from UML Sequence Diagrams
August 06-August 08
ISBN: 978-0-7695-3263-9
In this paper, we present an approach to generate test sequences from UML 2.0 sequence diagrams. Sequence diagrams are one of the most widely used UML models in the software industry. Although sequence diagrams are used for modeling the dynamic aspects of the system, they can also be used for model based testing. Existing work does not encompass certain important features of UML 2.0 sequence diagrams. Our work considers many of the novel features of UML 2.0 sequence diagrams like alt, loop, opt and break to generate test sequences. These areimportant features as far as testing is concerned. Ourwork begins with defining the important types of relationship that can exist between the messages. Based on the relationship between the messages, the message sequences are generated. Our work considers an important feature of UML 2.0 sequence diagrams called the ‘Execution Occurrence’ to generate message sequences. Next, an intermediate representation of the sequence diagram is built. This intermediate representation is called the Sequence Dependency Graph (SDG). The message sequences are incorporated into the SDG. Finally, we discuss a traversal algorithm to generate test sequences from SDG. Our method is fully automated and the test sequences generated can be used to check the correctness of the implementation under test.
Index Terms:
UML, Sequence Diagram, Test Sequence, Message Sequence
Citation:
Philip Samuel, Anju Teresa Joseph, "Test Sequence Generation from UML Sequence Diagrams," snpd, pp.879-887, 2008 Ninth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, 2008
Usage of this product signifies your acceptance of the Terms of Use.