期刊文献+

基于UML交互概览图的测试线索的生成方法 被引量:1

Test clue generation based on UML interaction overview diagram
下载PDF
导出
摘要 针对单一UML模型测试不充分的问题,结合UML2.0交互概览图的特点开展测试方法研究,提出一种测试线索自动生成的方法。首先,给出UML类图、顺序图、交互概览图(OID)的形式化定义;通过提取交互概览图的流程信息和对象交互信息分别构造节点控制流图(NCFG)和消息序列图(MSD);将从MSD提取的消息路径嵌入到NCFG中,构造可测试交互概览图模型;最后采用两两覆盖准则生成测试线索。实验验证了该方法自动生成的测试线索在保证测试充分性的前提下可避免组合爆炸。 Concerning the problem that single UML model can not test the software sufficiently, this paper proposed a new method of automatically generating software test clues by combining the characteristics of UML2.0 interaction overview diagram. First, this paper gave the formal definition of UML class diagrams, sequence diagrams and Interaction Overview Diagrarns (IOD) . Second, the Node Control Flow Graph (NCFG) was constructed by extracting the process information of the interaction overview diagram while the Message Sequence Diagrams (MSD) were constructed by extracting the object interaction information. The testable model of IOD was constructed by embedding the MSD's message path into NCFG. At last, the paper adopted two-two coverage criterion to generate test clues. The experiment verifies that this method which automatically generates test clues avoids the combinatorial explosion while guaranteeing the test adequacy.
出处 《计算机应用》 CSCD 北大核心 2014年第1期270-275,291,共7页 journal of Computer Applications
关键词 UML模型 交互概览图 流程信息 覆盖准则 测试线索 UML model Interaction Overview Diagram (IOD) process information coverage criterion test clue
  • 相关文献

参考文献15

二级参考文献38

共引文献35

同被引文献8

  • 1章涛,顾庆,陈道蓄.基于UML状态图的测试技术研究[J].计算机科学,2007,34(10):264-267. 被引量:8
  • 2Supaporn K, Wanchai R. Automated-Generating Test Case using UML Statechart Diagrams Proceedings of SAICSIT 2003,296-300. 被引量:1
  • 3Jefferson Offutt A, Liu Shaoying , Aynur Abdurazik, et al. Generating test data from state-based specifiea-tions EJ]- Soft-ware Testing Verification & Reliabili- ty,2003, 13(1) :25-53. 被引量:1
  • 4McMinn P. Search_ based Software Test Data Genera tion A Survey[J]. Software Testing, Verification and Reliability. 2004,14(2): 105-156. 被引量:1
  • 5Cali A, Calvanese D, De Giancomo G ,et al . A for- mal framework for reasoning on UML class diagrams [C]//proceedings of the Thirteenth International Symposium on Methodologies for Intelligent Systems (ISMIS 2002),volume 2366 of Lecture Notes in Corn puter Science, Springer, 2002 ; 503-513. 被引量:1
  • 6DUAN Zhenhua, TIAN Cong, ZHANG Li. A deci- sion procedure for propositional projection temporal logic with infinite models [J]. Acta Informatica, 2008, 45(1): 43-78. 被引量:1
  • 7Alhrooh, A Dahal, K Hossain A. Transforming UML sequence diagram to high level petri net[A]. Proc of 2010 2nd International Conference on Software Technology and Engineering[C]. Puerto Rico USA: ICSTE, 2010. 260-264. 被引量:1
  • 8张琛,段振华.应用UML2.0模型的测试用例生成方法[J].西安交通大学学报,2011,45(8):18-23. 被引量:8

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部