The Community for Technology Leaders
RSS Icon
Issue No.01 - January (2000 vol.26)
pp: 55-69
<p><b>Abstract</b>—We propose checking the execution of an abstract data type's imperative implementation against its algebraic specification. An explicit mapping from implementation states to abstract values is added to the imperative code. The form of specification allows mechanical checking of desirable properties such as consistency and completeness, particularly when operations are added incrementally to the data type. During unit testing, the specification serves as a test oracle. Any variance between computed and specified values is automatically detected. When the module is made part of some application, the checking can be removed, or may remain in place for further validating the implementation. The specification, executed by rewriting, can be thought of as itself an implementation with maximum design diversity, and the validation as a form of multiversion-programming comparison.</p>
Self-checking code, object-oriented software testing, formal specification, rewriting.
Sergio Antoy, Dick Hamlet, "Automatically Checking an Implementation against Its Formal Specification", IEEE Transactions on Software Engineering, vol.26, no. 1, pp. 55-69, January 2000, doi:10.1109/32.825766
20 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool