Title :
A UML approach to the generation of test sequences for Java-based concurrent systems
Author :
Kim, Soon-Kyeong ; Wildman, Kuke ; Duke, Roger
Author_Institution :
Sch. of Comput. Sci. & Electr. Eng., Queensland Univ., Australia
fDate :
29 March-1 April 2005
Abstract :
Starting with a UML specification that captures the underlying functionality of some given Java-based concurrent system, we describe a systematic way to construct, from this specification, test sequences for validating an implementation of the system. The approach is to first extend the specification to create UML state machines that directly address those aspects of the system we wish to test. To be specific, the extended UML state machines can capture state information about the number of waiting threads or the number of threads blocked on a given object. Using the SAL model checker we can generate from the extended UML state machines sequences that cover all the various possibilities of events and states. These sequences can then be directly transformed into test sequences suitable for input into a testing tool such as ConAn. As an illustration, the methodology is applied to generate sequences for testing a Java implementation of the producer-consumer system.
Keywords :
Java; Unified Modeling Language; concurrency control; formal specification; program testing; Java-based concurrent system; SAL model checker; UML specification; producer-consumer system; state machines; test sequences; testing tool; Acoustic testing; Australia; Computer languages; Concurrent computing; Information technology; Java; Software testing; System testing; Unified modeling language; Yarn;
Conference_Titel :
Software Engineering Conference, 2005. Proceedings. 2005 Australian
Print_ISBN :
0-7695-2257-2
DOI :
10.1109/ASWEC.2005.11