Title :
Asynchronous Input-Output Conformance Testing
Author :
Weiglhofer, Martin ; Wotawa, Franz
Author_Institution :
Inst. for Software Technol., Graz Univ. of Technol., Graz, Austria
Abstract :
This paper studies model-based input-output conformance testing in the presence of queues. Normally, it is assumed that a test case communicates synchronously with an implementation under test. This causes some challenges in practice, since testing is often conducted asynchronously. In an asynchronous environment messages between a tester and the implementation are queued. This may lead to incorrect verdicts. In this paper we show how one can guarantee correct verdicts in the asynchronous case for a large set of implementations. If choices between inputs and outputs are restricted to internal choices with respect to an implementation one can use the observation of quiescence as a handshake between a test case and the implementation. Such a handshake allows us to test for input-output conformance in the context of queues. In addition, the input-enabledness assumption on implementations is relaxed. Besides a formal discussion of this approach, we show the practical relevance by applying our approach to a conference protocol.
Keywords :
conformance testing; message passing; program testing; asynchronous environment messages; asynchronous input-output conformance testing; conference protocol; model based input-output conformance testing; Acoustic testing; Application software; Asynchronous communication; Computer applications; Fault detection; Observability; Paper technology; Protocols; Prototypes; Software testing; input enabledness; input-output conformance testing; ioco; queued testing; quiescence;
Conference_Titel :
Computer Software and Applications Conference, 2009. COMPSAC '09. 33rd Annual IEEE International
Conference_Location :
Seattle, WA
Print_ISBN :
978-0-7695-3726-9
DOI :
10.1109/COMPSAC.2009.194