Title :
Test Case Automate Generation from UML Sequence Diagram and OCL Expression
Author :
Li, Bao-lin ; Li, Zhi-shu ; Qing, Li ; Chen, Yan-Hong
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;
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
DOI :
10.1109/CIS.2007.150