首页> 外文期刊>The Computer journal >Using Coupling-Based Weights for the Class Integration and Test Order Problem
【24h】

Using Coupling-Based Weights for the Class Integration and Test Order Problem

机译:将基于耦合的权重用于类积分和测试顺序问题

获取原文
获取原文并翻译 | 示例
           

摘要

During component-based and object-oriented software development, software classes exhibit relationships that complicate integration, including method calls, inheritance and aggregation. Classes are integrated and tested in specific orders, where each class is added and tested one by one to see if it integrates successfully. A difficulty arises when cyclic dependencies exist-the functionality that is used by the first class to be tested must be mimicked by creating 'stubs' (sometimes called 'mock objects'), an expensive and error-prone operation. This problem is generally called the class integration and test order (CITO) problem, and solutions must fully be automated for integration and testing to proceed smoothly and efficiently. This paper describes new techniques and algorithms to solve the CITO problem. New results include improved edge weights to more precisely model the cost of stubbing, and the use of node weights, which allows more information to be used. These weights are derived from quantitative measures of couplings between the integrated and the stubbed classes. Also, a new algorithm for computing the integration and test orders is presented. The technique is compared with an existing approach and found to be cheaper, get the same results when using edge weights exclusively, and yield better results when using node weights.
机译:在基于组件和面向对象的软件开发过程中,软件类表现出使集成复杂化的关系,包括方法调用,继承和聚合。按照特定的顺序对类进行集成和测试,其中逐一添加和测试每个类以查看其是否成功集成。当存在循环依赖关系时会出现困难-必须通过创建“存根”(有时称为“模拟对象”)来模仿要测试的第一类所使用的功能,这是一项昂贵且容易出错的操作。此问题通常称为类集成和测试订单(CITO)问题,并且解决方案必须完全自动化才能使集成和测试顺利有效地进行。本文介绍了解决CITO问题的新技术和算法。新的结果包括改进的边缘权重以更精确地模拟存根成本,以及使用节点权重,从而可以使用更多信息。这些权重来自对集成类和存根类之间耦合的定量度量。此外,提出了一种用于计算集成和测试订单的新算法。该技术与现有方法进行了比较,发现更便宜,仅使用边缘权重时可获得相同的结果,而使用节点权重时可获得更好的结果。

著录项

  • 来源
    《The Computer journal》 |2009年第5期|557-570|共14页
  • 作者

    Aynur Abdurazik; Jeff Offutt;

  • 作者单位

    Information and Software Engineering, George Mason University, Fairfax, VA 22030, USA;

    Information and Software Engineering, George Mason University, Fairfax, VA 22030, USA;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    OO testing; class integration and test order; coupling;

    机译:OO测试;班级整合和测试顺序;耦合;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号