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

基于UML图和不同粒度切片的回归测试研究
引用本文:钱雪忠,宋建生.基于UML图和不同粒度切片的回归测试研究[J].计算机工程与科学,2012,34(11):124.
作者姓名:钱雪忠  宋建生
作者单位:江南大学物联网工程学院,江苏无锡,214122
基金项目:江苏省科技支撑计划资助项目
摘    要:针对面向对象软件回归测试的新特点,本文引入了基于UML图的不同粒度切片。首先,对描述类间关系的UML类图和描述状态变迁关系的UML状态图形式化定义。接着,对定义的图进行切片分析,其中类间测试提出一种基于UML类图的粗粒度切片工具;类内测试提出一种基于UML状态图细粒度切片的方法。最后,将其应用于销售订单系统,结果表明以上两种分析方法可以有效地提高回归测试效率。

关 键 词:回归测试  UML类图  UML状态图  粗粒度切片  细粒度切片

Research on Regression Testing Based on UML Diagram and Different Granularity Slicing
QIAN Xue-zhong , SONG Jian-sheng.Research on Regression Testing Based on UML Diagram and Different Granularity Slicing[J].Computer Engineering & Science,2012,34(11):124.
Authors:QIAN Xue-zhong  SONG Jian-sheng
Abstract:According to the new features of regression testing about object-oriented software,a different granularity slicing method based on UML diagram is introduced.First of all,the UML class diagram which describes the relationship of classes and the UML state diagram which describes the relationship of states are formulated.Second,the defined diagrams are analyzed,A coarse-grained slicing tool based on UML class diagram is presented in the inter-class test,while a fine-grained slicing method based on UML state diagram is proposed in the inner-class test.Finally,they are applied into the sales-order system.The result shows that the efficiency of regression testing can be improved effectively by these two analysis methods.
Keywords:regression testing  UML class diagram  UML state diagram  coarse-grained slicing  fine-grained slicing
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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