Using test oracles generated from program documentation
- 1 March 1998
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 24 (3) , 161-173
- https://doi.org/10.1109/32.667877
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.Keywords
This publication has 25 references indexed in Scilit:
- Tabular Representations in Relational DocumentsPublished by Springer Nature ,1997
- Compilation of Z specifications into C for automatic test result evaluationPublished by Springer Nature ,1995
- Improving software tests using Z SpecificationsPublished by Springer Nature ,1995
- Towards a formal semantics of Parnas tablesPublished by Association for Computing Machinery (ACM) ,1995
- The Core method for real-time requirementsIEEE Software, 1992
- Software requirements analysis for real-time process-control systemsIEEE Transactions on Software Engineering, 1991
- ANNA A Language for Annotating Ada ProgramsPublished by Springer Nature ,1987
- A program testing assistantCommunications of the ACM, 1982
- Data Abstraction, Implementation, Specification, and TestingACM Transactions on Programming Languages and Systems, 1981
- Testing Programs with the Aid of a CompilerIEEE Transactions on Software Engineering, 1977