DocumentCode :
3481923
Title :
Semantic-Based Test Oracles
Author :
Bai, Xiaoying ; Hou, Kejia ; Lu, Hao ; Zhang, Yao ; Hu, Linping ; Ye, Hong
Author_Institution :
Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
fYear :
2011
fDate :
18-22 July 2011
Firstpage :
640
Lastpage :
649
Abstract :
Test oracle is one of the most difficult parts for test automation. For software with a large number of test cases, it is always both expensive and error prone to develop and maintain test oracles. The research is motivated by industry needs of automated testing on software with standard interfaces in an open system architecture. In counter to test oracle challenges, it proposes an innovative method to represent and calculate test oracles based on the semantic model of standard interface service specification of the software under test (SUT). Semantic model provides well-defined domain knowledge of service data, functionalities and constraints. Rules are created to model the expected SUT behavior in terms of antecedents and consequents. For each service, it captures both direct input-output relations and service interactions, that is, how the execution of a service may be affected by (pre-condition) or impact (post-condition) the SUT system state. As rule languages are neutral to programming languages, oracles specified in this way are independent of SUT implementations and can be reused across different systems conforming to the same interface standards. With the support of semantic techniques and tools like ontology modeler and rule engine, the proposed approach can enhance test oracle automation based on sophisticated defined domain model. Experiments and analysis show promising improvements in test productivity and quality.
Keywords :
program testing; ontology modeler; open system architecture; programming languages; rule engine; rule languages; semantic-based test oracles; software automated testing; software under test; sophisticated defined domain model; test automation; test oracle automation; test productivity; Cognition; Computational modeling; Data models; Ontologies; Semantics; Software; Testing; Semantic Modeling; Test Oracle;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference (COMPSAC), 2011 IEEE 35th Annual
Conference_Location :
Munich
ISSN :
0730-3157
Print_ISBN :
978-1-4577-0544-1
Electronic_ISBN :
0730-3157
Type :
conf
DOI :
10.1109/COMPSAC.2011.89
Filename :
6032411
Link To Document :
بازگشت