首页> 外文期刊>IEEE Transactions on Software Engineering >Equality to Equals and Unequals: A Revisit of the Equivalence and Nonequivalence Criteria in Class-Level Testing of Object-Oriented Software
【24h】

Equality to Equals and Unequals: A Revisit of the Equivalence and Nonequivalence Criteria in Class-Level Testing of Object-Oriented Software

机译:平等等于不平等:对面向对象软件的类级别测试中的等效和非等效标准的重新审视

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

摘要

Algebraic specifications have been used in the testing of object-oriented programs and received much attention since the 1990s. It is generally believed that class-level testing based on algebraic specifications involves two independent aspects: the testing of equivalent and nonequivalent ground terms. Researchers have cited intuitive examples to illustrate the philosophy that even if an implementation satisfies all the requirements specified by the equivalence of ground terms, it may still fail to satisfy some of the requirements specified by the nonequivalence of ground terms. Thus, both the testing of equivalent ground terms and the testing of nonequivalent ground terms have been considered as significant and cannot replace each other. In this paper, we present an innovative finding that, given any canonical specification of a class with proper imports, a complete implementation satisfies all the observationally equivalent ground terms if and only if it satisfies all the observationally nonequivalent ground terms. As a result, these two aspects of software testing cover each other and can therefore replace each other. These findings provide a deeper understanding of software testing based on algebraic specifications, rendering the theory more elegant and complete. We also highlight a couple of important practical implications of our theoretical results.
机译:自1990年代以来,代数规范一直用于测试面向对象程序。通常认为,基于代数规范的类级测试涉及两个独立的方面:等价和非等价基础术语的测试。研究人员列举了一些直观的例子来说明这种哲学,即即使实现满足基本条件的等价规定的所有要求,它仍然可能无法满足基本条件的不等价规定的某些要求。因此,等效接地项的测试和非等效接地项的测试都被认为是重要的,不能相互替代。在本文中,我们提出了一个创新发现,即给定具有适当输入的类的任何规范规范,并且仅当它满足所有观察上不等效的基础术语时,完整的实现才满足所有观察上等效的基础术语。结果,软件测试的这两个方面是相互覆盖的,因此可以相互替换。这些发现为基于代数规范的软件测试提供了更深刻的理解,使理论更加优雅和完整。我们还强调了我们理论结果的两个重要的实践意义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号