Home
Scholarly Works
Using test oracles generated from program...
Journal article

Using test oracles generated from program documentation

Abstract

The paper illustrates how software can be described precisely using LD-relations, how these descriptions can be presented in a readable manner using tabular notations, and one way such descriptions can be used to test programs. The authors describe an algorithm that can be used to generate a test oracle from program documentation, and present the results of using a tool based on it to help test part of a commercial network management application. The results demonstrate that these methods can be effective at detecting errors and greatly increase the speed and accuracy of test evaluation when compared with manual evaluation. Such oracles can be used for unit testing, in situ testing, constructing self-checking software, and ensuring consistency between code and documentation.

Authors

Peters DK; Parnas DL

Journal

IEEE Transactions on Software Engineering, Vol. 24, No. 3, pp. 161–173

Publisher

Institute of Electrical and Electronics Engineers (IEEE)

Publication Date

December 1, 1998

DOI

10.1109/32.667877

ISSN

0098-5589

Contact the Experts team