首页> 外文OA文献 >TACCLE: A Methodology for Object-Oriented Software Testing at the Class and Cluster Levels
【2h】

TACCLE: A Methodology for Object-Oriented Software Testing at the Class and Cluster Levels

机译:TaCCLE:类和集群级别的面向对象软件测试方法

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Object-oriented programming consists of several different levels of abstraction, namely, the algorithmic level, class level, cluster level, and system level. The testing of object-oriented software at the algorithmic and system levels is similar to conventional program testing. Testing at the class and cluster levels poses new challenges. Since methods and objects may interact with one another with unforeseen combinations and invocations, they are much more complex to simulate and test than the hierarchy of functional calls in conventional programs. In this paper, we propose a methodology for object-oriented software testing at the class and cluster levels. In class-level testing, it is essential to determine whether objects produced from the execution of implemented systems would preserve the properties defined by the specification, such as behavioral equivalence and nonequivalence. Our class-level testing methodology addresses both of these aspects. For the testing of behavioral equivalence, we propose to select fundamental pairs of equivalent ground terms as test cases using a black-box technique based on algebraic specifications, and then determine by means of a white-box technique whether the objects resulting from executing such test cases are observationally equivalent. To address the testing of behavioral nonequivalence, we have identified and analyzed several nontrivial problems in the current literature. We propose to classify term equivalence into four types, thereby setting up new concepts and deriving important properties. Based on these results, we propose an approach to deal with the problems in the generation of nonequivalent ground terms as test cases. Relatively little research has contributed to cluster-level testing. In this paper, we also discuss black-box testing at the cluster level. We illustrate the feasibility of using Contract, a formal specification language for the behavioral dependencies and interactions among cooperating objects of different classes in a given cluster. We propose an approach to test the interactions among different classes using every individual message-passing rule in the given Contract specification. We also present an approach to examine the interactions among composite message-passing sequences. We have developed four testing tools to support our methodology.
机译:面向对象的程序设计包括几个不同的抽象级别,即算法级别,类级别,集群级别和系统级别。在算法和系统级别上的面向对象软件的测试与常规程序测试相似。在类和群集级别的测试提出了新的挑战。由于方法和对象可能会以不可预见的组合和调用相互交互,因此与传统程序中的函数调用层次结构相比,它们的仿真和测试要复杂得多。在本文中,我们提出了一种用于类和群集级别的面向对象软件测试的方法。在类级别的测试中,至关重要的是确定从执行已实施的系统产生的对象是否将保留规范定义的属性,例如行为等效和不等效。我们的班级测试方法论解决了这两个方面。为了测试行为等效性,我们建议使用基于代数规范的黑盒技术来选择等效基本术语的基本对作为测试用例,然后通过白盒技术确定执行此测试所产生的对象是否案例在观察上是等效的。为了解决行为不对等问题的测试,我们已经确定并分析了当前文献中的几个非平凡问题。我们建议将术语对等分为四种类型,从而建立新的概念并推导重要的性质。基于这些结果,我们提出了一种方法来处理作为测试用例的非等价地面条件生成中的问题。相对较少的研究为集群级测试做出了贡献。在本文中,我们还将讨论集群级别的黑盒测试。我们说明了使用Contract的可行性,Contract是一种正式的规范语言,用于在给定集群中行为依赖和不同类的协作对象之间的交互。我们提出一种方法,使用给定的Contract规范中的每个消息传递规则来测试不同类之间的交互。我们还提出了一种方法来检查复合消息传递序列之间的交互。我们开发了四种测试工具来支持我们的方法。

著录项

  • 作者

    Chen TY; Chen HY; Tse TH;

  • 作者单位
  • 年度 2001
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号