|
计算机应用 2009
Method of test scenario generation based on UML dynamic view
|
Abstract:
This paper presents a method of creating test scenario based on UML dynamic view. Firstly, it combines with a sequence diagram and a state diagram as the test model, defining the criteria of testing coverage. Then it transforms the test model into a directed graph of orthogonal list structure. Aimed at the different types of messages of combination, it deals with them one by one and presents to search test scenario by a depth first algorithm. During the process of transforming the UML diagram into the test model, used this method can improve the integrity of the scenes path and reduce the generation of redundant scenes.