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

基于UML时序图的集成测试序列自动生成
引用本文:马伟,张毅坤. 基于UML时序图的集成测试序列自动生成[J]. 计算机工程与应用, 2005, 41(19): 108-111
作者姓名:马伟  张毅坤
作者单位:西安理工大学计算机科学与工程学院,西安,710048;西安理工大学计算机科学与工程学院,西安,710048
基金项目:陕西省教育厅科研基金(编号:00JK265)
摘    要:该文研究了基于UML时序图的集成测试序列自动生成方法。该方法分析了时序图的语义信息并添加语义约束规约生成可测试模型,从中提取相关信息生成有限状态机;然后使用Wp方法构造测试序列;最后使用中国邮递员算法对Wp方法进行改进生成最优测试序列。该方法生成的测试序列长度相对较短,并能充分满足测试用例覆盖需求。

关 键 词:集成测试  测试序列自动生成  时序图  Wp 方法  中国邮递员算法
文章编号:1002-8331-(2005)19-0108-04

Automatic Generation of Integration Test Sequences Based on UML Sequence Diagrams
Ma Wei,ZHANG Yikun. Automatic Generation of Integration Test Sequences Based on UML Sequence Diagrams[J]. Computer Engineering and Applications, 2005, 41(19): 108-111
Authors:Ma Wei  ZHANG Yikun
Abstract:This paper explores an approach to automatic generation of integration test sequences based on UML sequence diagrams.The approach analyzes the semantics of sequence diagrams and adds semantic constraint specification to generate testable model.Corresponding information is abstracted from the model to generate FSM.Then,test sequences are constructed by using Wp method.Finally,authors optimize Wp method and generate optimization test sequences by using Rural Chinese Postman algorithm.The generated test sequences can fulfill adequately coverage requirement and the length of test sequences is relative short.
Keywords:integration test  automatic generation of test sequences  sequence diagram  Wp method  Rural Chinese Postman
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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