首页> 中文期刊> 《计算机工程与科学》 >基于UML图和不同粒度切片的回归测试研究

基于UML图和不同粒度切片的回归测试研究

         

摘要

针对面向对象软件回归测试的新特点,本文引入了基于UML图的不同粒度切片.首先,对描述类间关系的UML类图和描述状态变迁关系的UML状态图形式化定义.接着,对定义的图进行切片分析,其中类间测试提出一种基于UML类图的粗粒度切片工具;类内测试提出一种基于UML状态图细粒度切片的方法.最后,将其应用于销售订单系统,结果表明以上两种分析方法可以有效地提高回归测试效率.%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-grainfed 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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号