›› 2013, Vol. 39 ›› Issue (1): 57-62.doi: 10.3969/j.issn.1674-1579.2013.01.010
Abstract:Software testing is an important means of ensuring embeddedsoftware quality, in which the completeness of test cases is a key factor. In this paper, a method of generating test cases based on the unified modal language (UML) state diagram is studied. According to the state, migration invariance principles and action mapping, the UML state diagram can be transformed to an extended finite state machine (EFSM). With breadthfirst search, the state and migration covering principles are satisfied. Then test cases are generated by test sequences and the lookup table. Finally, an example is given to demonstrate the feasibility and efficiency of the method.