DocumentCode
155184
Title
Automated Test Oracle Generation via Denotational Semantics
Author
Hai-Feng Guo ; Liang Cao ; Yushu Song ; Zongyan Qiu
Author_Institution
Dept. of Comput. Sci., Univ. of Nebraska at Omaha, Omaha, NE, USA
fYear
2014
fDate
2-3 Oct. 2014
Firstpage
139
Lastpage
144
Abstract
This paper presents a formal approach to specifying test oracles in denotational semantics, and bridges the automation between test case generation and software testing. We extended our grammar-based test generation tool, Gena, with an interface for users to define semantic domains, and formal semantic evaluation functions for mapping from syntax to semantics, based on the methodology of denotational semantics. We provide two practical case studies to illustrate how automated oracle generation can be effectively integrated with grammar-based test generation in different testing scenarios: generating test data for a set of java programs, and generating executable Smalltalk testing methods.
Keywords
Java; automatic testing; formal specification; grammars; program testing; programming language semantics; user interfaces; Gena; Java programs; automated test oracle generation; denotational semantics; executable Smalltalk testing method; formal semantic evaluation functions; grammar-based test generation tool; semantic domains; software testing; syntax; test case generation; test oracle specification; user interface; Cost accounting; Java; Semantics; Software testing; Syntactics; Tagging; denotational semantics; software test; test oracle;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality Software (QSIC), 2014 14th International Conference on
Conference_Location
Dallas, TX
ISSN
1550-6002
Print_ISBN
978-1-4799-7197-8
Type
conf
DOI
10.1109/QSIC.2014.38
Filename
6958398
Link To Document