Software testing plays a more and more important role in the software development and it performs its functions during the whole period of developing. In software testing, the design of generating cases testing, which is based on the requirement and design of the software, is the key point as well as a difficult one.To select a set of right cases, the full coverage criteria must be set up first. The focus of the paper is just based on the criteria of software testing technology.In this paper, we studied the generation of testing cases based on UML statement diagram specification. Firstly, we study the problems of specification-based generation of testing cases and the mechanism of UML modeling.Then, an algorithm for generating test cases is proposed and used for the basis of the generation of testing cases.Finally, on the basis of former algorithm, we build a system to generate testing cases.
|