首页> 外文会议>International conference on Software engineering >Testing levels for object-oriented software
【24h】

Testing levels for object-oriented software

机译:面向对象软件的测试级别

获取原文

摘要

One of the characteristics of object-oriented software is the complex dependency that may exist between classes due to inheritance, association and aggregation relationships. Hence, where to start testing and how to define an integration strategy are issues that require further investigation. This paper presents an approach to define a test order by exploiting a model produced during design stages (e.g., using OMT, UML), namely the class diagram. Our goal is to minimize the number of stubs to be constructed in order to decrease the cost of testing. This is done by testing a class after the classes it depends on. The novelty of the test order lies in the fact that it takes account of: (i) dynamic (polymorphism) dependencies; (ii) abstract classes that cannot be instantiated, making some testing levels infeasible. The test order is represented by a graph showing which testing levels must be done in sequence and which ones may be done independently. It also provides information about the classes involved in each level and how they are involved (e.g., instantiation or not). The approach is implemented in a tool called TOONS (Testing level generator for Object-OrieNted Software). It is applied to an industrial case study from the avionics domain.

机译:

面向对象软件的特征之一是由于继承,关联和聚合关系,类之间可能存在复杂的依赖关系。因此,从哪里开始测试以及如何定义集成策略是需要进一步调查的问题。本文提出了一种通过利用在设计阶段(例如,使用OMT,UML)生成的模型(即类图)来定义测试订单的方法。我们的目标是最大程度地减少要构建的存根的数量,以降低测试成本。这是通过在一个类依赖的类之后对其进行测试来完成的。测试订单的新颖性在于它考虑了以下事实:(i)动态(多态性)依赖性; (ii)无法实例化的抽象类,使某些测试级别不可行。测试顺序由一个图表表示,该图表显示哪些测试级别必须依次执行,哪些测试级别可以独立完成。它还提供有关每个级别中涉及的类以及它们如何涉及的信息(例如,是否实例化)。该方法在称为TOONS(面向对象的软件的测试级别生成器)的工具中实现。它被应用于航空电子领域的工业案例研究。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号