首页> 外文期刊>Journal of Software Maintenance and Evolution >UML-based regression testing for OO software
【24h】

UML-based regression testing for OO software

机译:面向对象软件的基于UML的回归测试

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

In software maintenance, a system has to be regression tested after modifying it. The goal of regression testing is to ensure that modifications have not adversely affected the system. Regression test selection determines a subset of test cases, from the initial test suite, which concentrates on the parts of the system affected by the modification. Previous techniques have been mainly code-based and several of them have addressed procedural programs. When working with large and complex object-oriented systems, source code-based regression testing is usually costly. This paper proposes a programming-language-independent technique for regression test selection for object-oriented software based on Unified Modeling Language (UML 2.0) design diagrams. These diagrams are: the newly introduced interaction overview diagram, class diagrams, and sequence diagrams. We assume a test suite that contains both unit and system test cases. Based on the software changes reflected in the class and the interaction overview diagrams, our proposed technique selects test cases in phases. In the first phase, we select both unit and system test cases that directly traverse the changed methods and their calling methods. For the second phase, we present algorithms for detecting system level changes in the interaction overview diagram. If the change is at the action level, which is represented by a sequence diagram, only the test cases that execute changed methods will be selected. We apply our proposed technique to a few object-oriented subject applications and evaluate its precision and inclusiveness in addition to the number of selected tests; the results demonstrate the advantages of the technique.
机译:在软件维护中,修改系统后必须对其进行回归测试。回归测试的目的是确保修改不会对系统造成不利影响。回归测试选择从初始测试套件中确定测试用例的子集,该子集集中于受修改影响的系统部分。先前的技术主要是基于代码的,其中一些已经解决了程序问题。当使用大型和复杂的面向对象的系统时,基于源代码的回归测试通常很昂贵。本文提出了一种基于编程语言的技术,用于基于统一建模语言(UML 2.0)设计图的面向对象软件的回归测试选择。这些图是:新引入的交互概述图,类图和序列图。我们假设一个测试套件包含单元和系统测试用例。基于类和交互概览图中反映的软件更改,我们提出的技术分阶段选择了测试用例。在第一阶段,我们选择直接遍历更改的方法及其调用方法的单元和系统测试用例。对于第二阶段,我们在交互概览图中提出了用于检测系统级别更改的算法。如果更改是在操作级别(由序列图表示),则将仅选择执行更改方法的测试用例。我们将提出的技术应用于一些面向对象的主题应用程序,并在选定测试的数量之外评估其准确性和包容性。结果证明了该技术的优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号