DocumentCode :
3281638
Title :
Contract-Based Testing for Web Services
Author :
Dai, Guilan ; Bai, Xiaoying ; Wang, Yongbo ; Dai, Fengjun
Author_Institution :
Tsinghua Univ., Beijing
Volume :
1
fYear :
2007
fDate :
24-27 July 2007
Firstpage :
517
Lastpage :
526
Abstract :
This paper examines the use of Design by Contract for web service descriptions, and explores the issues and solutions of automatic test case generation and test oracle generation in the context of WS testing based on contracts. In our approach, the traditional concept of contracts (pre-condition, post-condition, and invariant) is extended to contain richer information, such as process control, to support automatic test generation. Contracts are used to specify the relation between a component and its clients as a formal agreement, expressing each party´s rights and obligations. Contracts can be expressed in the OWL-S process model. By checking whether the web service respects its contracts, we can ascertain its validity. Therefore, contracts provide the basis for the automation of the testing process.
Keywords :
Web services; object-oriented programming; ontologies (artificial intelligence); program testing; Web services; automatic test case generation; contract-based testing; object oriented design; ontology Web language-S process model; test oracle generation; Automatic testing; Contracts; Humans; Microstrip; Performance evaluation; Runtime; Service oriented architecture; Software testing; System testing; Web services;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 2007. COMPSAC 2007. 31st Annual International
Conference_Location :
Beijing
ISSN :
0730-3157
Print_ISBN :
0-7695-2870-8
Type :
conf
DOI :
10.1109/COMPSAC.2007.100
Filename :
4291045
Link To Document :
بازگشت