DocumentCode
2566524
Title
Test Case Automate Generation from UML Sequence Diagram and OCL Expression
Author
Li, Bao-lin ; Li, Zhi-shu ; Qing, Li ; Chen, Yan-Hong
fYear
2007
fDate
15-19 Dec. 2007
Firstpage
1048
Lastpage
1052
Abstract
A new test cases generation approach is presented which based on UML sequence diagrams and Object Constraint Language (OCL). In this approach, a tree representation of sequence diagrams is constructed. Firstly traversal of the constructed tree for selecting conditional predicates from the sequence diagram is carried out. Then, post- and precondition is described by OCL. We transform the conditional predicates on the sequence diagram and apply function minimization technique to generate the test data. The generated test cases achieve message paths coverage and constraint attribute coverage of all objects which relate to the message. Lastly, the results of experiments show that this method has a better performance.
Keywords
Application software; Automatic testing; Computational intelligence; Costs; Programming; Software engineering; Software quality; Software testing; System testing; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Computational Intelligence and Security, 2007 International Conference on
Conference_Location
Harbin, China
Print_ISBN
0-7695-3072-9
Electronic_ISBN
978-0-7695-3072-7
Type
conf
DOI
10.1109/CIS.2007.150
Filename
4415508
Link To Document