Abstract:
Beginning with analyzing the testability of UML model, this paper puts forward an approach to generate test cases for distributed system based on UML sequences diagrams, gives a schema to model the UML sequence diagrams with XML based on parsing the MDL file, and generates test cases for distributed system based on sequences diagrams. Experimental results indicate that test cases reach the standard of determinantor and overlay, and it has a good prospect of application.
Key words:
distributed system,
test cases generation,
UML sequence diagrams,
XML modeling
摘要: 在分析UML模型可测试性的基础上,提出一种基于UML顺序图模型生成分布式系统测试用例方法,以系统软件配置项为对象对分布式应用典型场景进行模拟,通过解析MDL文件给出对顺序图XML的建模方案,实现一个自动生成分布式系统测试用例工具。实验结果表明,生成的测试用例达到判定覆盖的标准,具有良好的应用前景。
关键词:
分布式系统,
测试用例生成,
UML顺序图,
XML建模
CLC Number:
LI Jian-jun; ZHU Min; LIU Xiao-juan; SHAO Pei-nan. Generation of Test Cases Based on UML Sequence Diagrams[J]. Computer Engineering, 2008, 34(21): 73-75.
李建军;朱 敏;刘晓娟;邵培南. 基于UML顺序图测试用例的生成[J]. 计算机工程, 2008, 34(21): 73-75.