基于UML图和不同粒度切片的回归测试研究  被引量:2

Research on Regression Testing Based on UML Diagram and Different Granularity Slicing

在线阅读下载全文

作  者:钱雪忠[1] 宋建生[1] 

机构地区:[1]江南大学物联网工程学院,江苏无锡214122

出  处:《计算机工程与科学》2012年第11期124-129,共6页Computer Engineering & Science

基  金:江苏省科技支撑计划资助项目(BE2009009)

摘  要:针对面向对象软件回归测试的新特点,本文引入了基于UML图的不同粒度切片。首先,对描述类间关系的UML类图和描述状态变迁关系的UML状态图形式化定义。接着,对定义的图进行切片分析,其中类间测试提出一种基于UML类图的粗粒度切片工具;类内测试提出一种基于UML状态图细粒度切片的方法。最后,将其应用于销售订单系统,结果表明以上两种分析方法可以有效地提高回归测试效率。According to the new features of regression testing about object-oriented software, a dif- ferent granularity slicing method based on UML diagram is introduced. First of all, the UML class dia gram which describes the relationship of classes and the UML state diagram which describes the relation- ship 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.

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

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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