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

基于 UML 顺序图的回归测试用例生成研究
引用本文:文,瑾.基于 UML 顺序图的回归测试用例生成研究[J].集成技术,2013,2(3):75-78.
作者姓名:  
作者单位:昆明学院信息技术学院 昆明 650214
基金项目:云南省教育厅科学研究基金(09Y0348)
摘    要:首先在分析 UML 模型可测试性的基础上,解析顺序图,得到场景测试树,再遍历该树,得到场景的输入、预期 输出、约束条件以及场景环境,这 4 部分组成了测试用例。再通过比较 UML 设计修改前后两个版本的顺序图,找出其中 的改变信息,并在测试用例和变化信息间建立映射关系,最后从原测试用例组中挑选出与映射关系有关的测试用例。

关 键 词:软件测试  UML  顺序图  面向对象  回归测试用例

Generation of Regression Test Cases Using UML Sequence Diagram
Authors:Wen jin
Abstract:Beginning with analyzing the testability of UML model, a scenario tree can be created by parsing it. The input, respected output, constraint and scenario context are generated through traversing the scenario tree, and the four parts constitute the test case. We can find the changed information before and after revision by comparing versions of the sequence diagram. Finally, a mapping relation between changed information and test cases is generated. Using this map relation we can select test cases affected by revision.
Keywords:software test  UML sequence diagram  object-oriented  regression testing cases
点击此处可从《集成技术》浏览原始摘要信息
点击此处可从《集成技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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