基于UML顺序图的回归测试用例生成研究  被引量:2

Generation of Regression Test Cases Using UML Sequence Diagram

在线阅读下载全文

作  者:文瑾[1] 

机构地区:[1]昆明学院信息技术学院,昆明650214

出  处:《集成技术》2013年第3期75-78,共4页Journal of Integration Technology

基  金:云南省教育厅科学研究基金(09Y0348)

摘  要:首先在分析UML模型可测试性的基础上,解析顺序图,得到场景测试树,再遍历该树,得到场景的输入、预期输出、约束条件以及场景环境,这4部分组成了测试用例。再通过比较UML设计修改前后两个版本的顺序图,找出其中的改变信息,并在测试用例和变化信息间建立映射关系,最后从原测试用例组中挑选出与映射关系有关的测试用例。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.

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

分 类 号:TP311.53[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象