To improve the test automation in software development process
following the researches on test case generation technology from models
a novel method is proposed based on UML2.0 sequence diagram(SD)with use case description
and event deterministic finite automata(ETDFA)are employed to describe the SD models of system interaction. By the model checked with propositional projection temporal logic(PPTL)
the correctness of ETDFA is verified. The achieved accurate ETDFA models and use case description are regarded as the origin of test cases. The testing strategy derives the test cases according to the event and full path coverage criterion. The experimental analyses of library management system(LMS)show that this approach enables to improve software testing efficiency
and guarantee the accuracy of the test cases for the administrator's action.
WANG Linzhang, LI Xuandong, ZHENG Guoliang. An approach to generate integration test cases based on UML collaboration diagrams [J]. Chinese Journal of Electronics, 2004, 32(8):1290-1296.
MONALISA S, DEBASISH K, RAJIB M. Automatic test case generation from UML sequence diagrams[C]∥Proceedings of the 15th International Conference on Advanced Computing and Communications. Piscataway, NJ, USA: IEEE Computer Society, 2007:60-65.
SANTOSH K S, DURGA P M, RAJIB M. Test case generation based on use case and sequence diagram [J]. International Journal of Software Engineering, 2010, 3(2):21-52.
KIM H, RUSSELL M. Learning UML 2.0 [M]. California, USA: O'Reilly, 2006:1-286.
DUAN Zhenhua, TIAN Cong, ZHANG Li. A decision procedure for propositional projection temporal logic with infinite models [J]. Acta Informatica, 2008, 45(1): 43-78.
YANG Chen, DUAN Zhenhua. A key technique to develop the model checker for propositional projection temporal logic [J]. Journal of Xi'an Jiaotong University, 2010, 44(10):24-29.