期刊文献+

一种基于UML动态视图的测试场景生成方法 被引量:3

Method of test scenario generation based on UML dynamic view
在线阅读 下载PDF
导出
摘要 针对目前测试模型中未考虑对象间交互关系产生的条件、循环消息类型造成产生的测试场景覆盖率低的问题,提出基于UML动态视图构造测试模型、生成测试场景的方法。该方法结合UML顺序图、状态图构造测试模型,等价转化成有向图,采用扩展的十字链表存储结构,在遍历过程中判断消息类型,再根据消息类型生成测试场景。应用实例说明了该方法的实用性。 The current test model does not consider the condition of the interactive relationship between the objects, and the cycle message type leads to low coverage of test scenario. To resolve these problems, the authors presented a method of creating test model and test scenario based on UML dynamic view. In this method, a test model was built through UML sequential diagram and state diagram. Then it was transformed into a directed graph with extended orthogonal list structure. Test scenario was created based on the message type which was determined when traversing. Examples prove the practicability of the proposed method.
出处 《计算机应用》 CSCD 北大核心 2009年第5期1385-1388,1392,共5页 journal of Computer Applications
基金 国家自然科学基金资助项目(60773055) 江西省自然科学基金资助项目(0511066)
关键词 UML动态视图 测试场景 覆盖准则 十字链表 UML dynamic view test scenario coverage criterion orthogonal list
  • 相关文献

参考文献7

  • 1马伟,张毅坤.基于UML时序图的集成测试序列自动生成[J].计算机工程与应用,2005,41(19):108-111. 被引量:7
  • 2BINDER R V.面向对象系统的测试[M].北京:人民邮电出版社,2005:75-90.
  • 3黄陇,陈致明,于洪敏,于秀山.基于UML的软件测试用例自动生成技术研究[J].计算机应用与软件,2004,21(11):16-17. 被引量:11
  • 4MONALISA S, KUNDU D, MAL R. Automatic test case generation from UML sequence diagrams[ C]// Proceedings of the 15th International Conference on Advanced Computing and Communications: AD- COM. Washington, DC: IEEE Computer Society, 2007: 60-67.
  • 5LI BAO-LIN, LI ZHI-SHU, LI QING. Test case automate generation from UML sequence diagram and OCL expression [ C]//Proceedings of the 2007 International Conference on Computational Intelligence and Security: CIS 2007. Washington, DC: IEEE Computer Society, 2007:1048 - 1052.
  • 6ALI S, BRIAND L C, JAFFAR-UR M, et al. A state-based approach to integration testing based on UML models[ J]. Information and Software Technology, 2007, 49(1/2) : 1087 - 1106.
  • 7黄陇,于洪敏,陈致明,于秀山.基于UML的软件测试自动化研究[J].计算机应用,2004,24(7):135-137. 被引量:11

二级参考文献16

  • 1Kim YK, Hong HS, Bae DH. Test Cases Generation From UML State Diagrams[ J]. IEEE Proc. Softw., 1999, 146(4).
  • 2Kung D, Gao J, Hsia P, et al. Class firewall, test order, and regression tastin8 of boject-oriented prosrams[ J]. Journal of Object-Oriented programming, 1995, 8(2): 51 - 65.
  • 3DustinERashkaJ PaulJ 于秀山 胡兢玉 译.软件自动化测试:引入、管理与实施[M].北京:电子工业出版社,2003..
  • 4FewsterM GranamD 舒智勇 译.软件测试自动化技术与实例详解[M].北京:电子工业出版社,2000..
  • 5UML Specification 1.5.http://www.omg.orgJuml.
  • 6T S Chow.Testing Design Modeled by Finite State Machines[J].Transactions on Software Engineering,1978;4(3).
  • 7S Fujiwara,G Bochmann,F Khendek et al.Test selection based onfinite state models[J].IEEE Transactions on Software Engineering, 1991;17(6).
  • 8AV Aho Dahbura,D Lee,MU Uyar.An Optimization Technique for Protocol Conformance Test Generation based on UIO Sequences and Rural Chinese Postman Tours[J].IEEE Transactions on Communications, 1991 ;39( 11 ).
  • 9ESwardan K E,Tarjan R E.Augmentation Problems[J].SIAM Journal on Computing, 1976 ; 5 (4).
  • 10Samir Khuller,Balaji Raghavachari.Improved Approximation Algorithmsfor Uniform Connectivity Problems[J].Journal of Algorithms archive, 1996;21 (2).

共引文献25

同被引文献36

引证文献3

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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