摘要
在软件工程中,系统建模是一种以抽象的方式来描述一个真实系统的表现形式的过程。软件测试鼓励重用这些模型以进行测试,这加快测试用例生成的过程。UML的各种模型图已经被测试人员用于生成测试场景和测试数据,其中静态模型的用例图,动态模型的活动图、序列图、状态图应用最广。研究通过对已有方法的总结归纳,提高对基于UML的测试技术的理解。主要是从不同方面,对不同的UML模型图生成测试用例的方法进行分类讨论,总结基于序列图、活动图、状态图的生成测试用例的方法。
In software engineering, system modeling is a process of describing the representation of a real system in an abstract way. Software testing encourages reuse of these models for testing, which speeds up the process of test case generation. The various model diagrams of UML have been used by the testers to generate test scenarios and test data, in which the use case diagram of the static model, the activity diagram of the dynamic model, the sequence diagram, and the state diagram are the most wide- ly used. In order to improve the understanding of the UML based testing technology by summarizing the existing methods. Mainly from different aspects, classifies and discusses the methods of generating test cases for different UML model diagrams, and the methods of generating test cases based on sequence diagrams, summarizes the activity diagrams and state graphs.
作者
陈小林
CHEN Xiao-lin(College of Computer Science, Siehuan University, Chengdu 61006)
出处
《现代计算机》
2018年第5期61-65,共5页
Modern Computer