Title :
From Test Purposes to Asynchronous Test Cases
Author :
Simao, Adenilso ; Petrenko, Alexandre
Author_Institution :
Sao Paulo Univ., Sao Carlos, Brazil
Abstract :
In this paper, we investigate the problem of constructing a test case for a given test purpose and specification modelled by input/output transition systems (IOTS). The communication between the tester and the implementation under test is assumed to be asynchronous, performed via queues. Differently from synchronous tests, when issuing verdicts, asynchronous tests should take into account the distortion caused by the queues in the observed interactions. We propose an algorithm which constructs a sound test case, by transforming the test purpose prior to composing it with the specification without queues, mitigating the state explosion problem which usually occurs when queues are directly involved in the composition. Experimental results confirm the resulting state space reduction. The proposed approach can also be used to obtain sound asynchronous tests from synchronous tests. We identify a class of IOTS specifications for which synchronous and asynchronous tests coincide.
Keywords :
formal specification; program testing; IOTS specification; asynchronous test case; distortion; input-output transition system; queues; sound asynchronous test; state explosion problem; state space reduction; test purpose; Acoustic testing; Automata; Automatic testing; Context; Explosions; Performance evaluation; Software testing; State-space methods; System testing; Waste materials; Input/Output Transition Systems; Test Generation; Test Purpose;
Conference_Titel :
Software Testing, Verification, and Validation Workshops (ICSTW), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6773-0
DOI :
10.1109/ICSTW.2010.32