从代数规范测试数据类型实现
Testing data types implementations from algebraic specifications
摘要:
数据类型的代数规范为测试数据类型实现提供了自然的基础。在这个框架中,一致性关系是基于公理的满足。这使得有可能正式陈述测试的基本概念:穷举测试集,可测性假设,预言。已经提出了选择有限测试集的各种标准。它们取决于公理的形式,以及在测试中观察实现的可能性。最后一点与著名的预言问题有关。由于代数规范的主要兴趣是数据类型抽象,测试具体的实现提出了抽象描述和具体表示之间的差距的问题。代数规范的观察语义在所谓的可观察上下文的基础上带来解决方案。在描述了基于代数规格说明的测试方法之后,本章简要介绍了一些工具和案例研究,并介绍了涉及数据库的其他形式化方法的一些应用。
英文摘要:
Algebraic specifications of data types provide a natural basis for testing data types implementations. In this framework, the conformance relation is based on the satisfaction of axioms. This makes it possible to formally state the fundamental concepts of testing: exhaustive test set, testability hypotheses, oracle. Various criteria for selecting finite test sets have been proposed. They depend on the form of the axioms, and on the possibilities of observation of the implementation under test. This last point is related to the well-known oracle problem. As the main interest of algebraic specifications is data type abstraction, testing a concrete implementation raises the issue of the gap between the abstract description and the concrete representation. The observational semantics of algebraic specifications bring solutions on the basis of the so-called observable contexts. After a description of testing methods based on algebraic specifications, the chapter gives a brief presentation of some tools and case studies, and presents some applications to other formal methods involving datatypes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。