首页 | 本学科首页   官方微博 | 高级检索  
     

UML顺序图驱动的动态行为测试
引用本文:付进. UML顺序图驱动的动态行为测试[J]. 盐城工学院学报(自然科学版), 2009, 22(2): 58-62
作者姓名:付进
作者单位:盐城市计量测试所,江苏,盐城,224001;江苏省质检研究院,五金包装部,江苏,南京,210000
摘    要:提出了一个模型驱动的测试方法,基于UML顺序图模型生成测试用例,并利用模型指导对程序的插装以收集运行时行为信息,执行测试后可以通过分析预期执行轨迹和运行时执行轨迹的一致性来确定顺序图描述的系统预期行为是否被正确实现。实现了一个原型工具,对上述方法提供支持。

关 键 词:UML顺序图  模型驱动的测试  运行时行为

UML Sequence Diagrams Driven Dynamic Behavior Testing
FU Jing. UML Sequence Diagrams Driven Dynamic Behavior Testing[J]. Journal of Yancheng Institute of Technology(Natural Science Edition), 2009, 22(2): 58-62
Authors:FU Jing
Affiliation:FU Jing ,China( 1. Yancheng Institute of Measurement, South Jiefang Road 112, Jiangsu Yancheng 224001, China; 2. Jiangsu Institute of Product Quality Inspection and Testing, East Guanghua Street 58 ,Jiangsu Nanjing 210029)
Abstract:This paper proposed a model - driven testing approach based on UML sequence diagrams. Test cases were generated from the sequence diagrams. The implementation was instrumented to collect the runtime behavior by using the sequence diagrams as a guide. The instrumented code implementation was executed with the generated test cases, and the runtime executing information was output to a trace file. The runtime executing traces were compared with the expected executing traces to determine the consistency between the design and the implementation. Also a prototype tool was designed to support above approach.
Keywords:UML sequence diagram  model - driven testing  runtime behavior
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《盐城工学院学报(自然科学版)》浏览原始摘要信息
点击此处可从《盐城工学院学报(自然科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号