DocumentCode :
1362581
Title :
Using test oracles generated from program documentation
Author :
Peters, Dennis K. ; Parnas, David Lorge
Author_Institution :
Dept. of Electr. & Comput. Eng., McMaster Univ., Hamilton, Ont., Canada
Volume :
24
Issue :
3
fYear :
1998
fDate :
3/1/1998 12:00:00 AM
Firstpage :
161
Lastpage :
173
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 :
finite state machines; formal specification; program testing; system documentation; LD-relations; algorithm; code; commercial network management application; error detection; in situ testing; program documentation; self-checking software construction; tabular notations; test evaluation accuracy; test evaluation speed; test oracles; unit testing; Application software; Automata; Automatic testing; Documentation; Formal specifications; Helium; Software engineering; Software maintenance; Software testing; System testing;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/32.667877
Filename :
667877
Link To Document :
بازگشت