首页> 外文会议> >Testing object-oriented programs - an integrated approach
【24h】

Testing object-oriented programs - an integrated approach

机译:测试面向对象程序-一种集成方法

获取原文

摘要

Traditional testing techniques often overlook object-oriented faults that are either caused by inheritance and/or polymorphism features or are introduced in object management. We present an object-flow based testing strategy that utilizes two object-flow coverage criteria (all-bindings and all-du-pairs) in testing object-oriented programs. The all-bindings criterion takes inheritance and polymorphism features into account to ensure that every binding of every object is exercised under some test. The all-du-pairs criterion is applied to monitor the behavior of every object during its lifetime by keeping track of where the object is defined (d) and where such a definition is referenced or used (u). These object-flow coverage criteria can be used to develop test cases that are able to trigger object-oriented faults. Furthermore, an integrated approach that incorporates the object-flow based testing strategy with traditional testing techniques as well as state-based testing technique is introduced. The results of our empirical study conducted on three industrial systems show that, with this approach, the reliability of the systems can be improved significantly and at least 80% of the maintenance cost can be reduced.
机译:传统的测试技术通常会忽略由继承和/或多态性特征引起的或在对象管理中引入的面向对象的错误。我们提出了一种基于对象流的测试策略,该策略在测试面向对象的程序时利用了两个对象流覆盖标准(所有绑定和所有du对)。所有绑定标准考虑了继承和多态性特征,以确保每个对象的每个绑定都在某种测试下得到执行。全双对准则适用于通过跟踪对象的定义位置(d)以及引用或使用此类定义的位置(u)来监视每个对象在其生命周期中的行为。这些对象流覆盖标准可用于开发能够触发面向对象的故障的测试用例。此外,介绍了一种集成方法,该方法将基于对象流的测试策略与传统测试技术以及基于状态的测试技术相结合。我们对三个工业系统进行的实证研究结果表明,采用这种方法,可以显着提高系统的可靠性,并可以减少至少80%的维护成本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号