Using test oracles generated from program documentation
Dennis K. Peters, David Lorge Parnas · IEEE Transactions on Software Engineering · 1998
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.
Cited by 171 works. doi:10.1109/32.667877
Authors
References
- Specifying Software Requirements for Complex Systems: New Techniques and Their Application
- On Testing Non-Testable Programs
- Testing Programs with the Aid of a Compiler
- Software requirements analysis for real-time process-control systems
- Data Abstraction, Implementation, Specification, and Testing
- Functional program testing and analysis
- Predicative programming Part I
- Specification-based test oracles for reactive systems
- Functional documents for computer systems
- A practical approach to programming with assertions