USING TEST ORACLES GENERATED FROM PROGRAM DOCUMENTATION

Citation
Dk. Peters et Dl. Parnas, USING TEST ORACLES GENERATED FROM PROGRAM DOCUMENTATION, IEEE transactions on software engineering, 24(3), 1998, pp. 161-173
Citations number
37
Categorie Soggetti
Computer Science Software Graphycs Programming","Engineering, Eletrical & Electronic","Computer Science Software Graphycs Programming
ISSN journal
00985589
Volume
24
Issue
3
Year of publication
1998
Pages
161 - 173
Database
ISI
SICI code
0098-5589(1998)24:3<161:UTOGFP>2.0.ZU;2-D
Abstract
This paper illustrates how software can be described precisely using L D-relations, how these descriptions can be presented in a readable man ner using tabular notations, and one way such descriptions can be used to test programs. We describe an algorithm that can be used to genera te a test oracle from program documentation, and present the results o f using a tool based on it to help test part of a commercial network m anagement application. The results demonstrate that these methods can be effective at detecting errors and greatly increase the speed and ac curacy of test evaluation when compared with manual evaluation. Such o racles can be used for unit testing, in situ testing, constructing sel f-checking software, and ensuring consistency between code and documen tation.