@ist_spl

Test ready UML statechart models

, , , and . SCESM '06: Proceedings of the 2006 international workshop on Scenarios and state machines: models, algorithms, and tools, page 75--82. New York, NY, USA, ACM, (2006)
DOI: http://doi.acm.org/10.1145/1138953.1138968

Abstract

The dynamic behavior of systems is best described by Finite-state machines. Generation of executable tests from behavioral models such as UML Statecharts offers benefits such as systematic testing and test adequacy. We choose UML Statechart models of behavior as the basis for test generation. This paper attempts to lay a new foundation for UML Statechart based test generation by introducing Test Ready UML Statechart models that can be used by testers in the testing phases just as the conventional UML Statecharts are required during the design and development phases. In order to achieve the goal of automatic test generation based on UML Statecharts, we identify what is required over and above UML Statecharts for testers to specify so that the resulting test ready models are amenable for automatic generation of executable test scripts. The test generation problem from a Test Ready UML Statechart is solved by determining all the sentential forms derivable from an equivalent extended context free grammar model.

Description

MR: Interessanter Ansatz. Lässt sich leicht auf Aktivitätsdiagramme übertragen. Besonderheiten: - Kreise im Graphen werden in abgeleiteten Pfaden speziell gekennzeichnet - Das Testmodell (UML Statechart) wird als Extended Context Free Grammar interpretiert - Path Generation Algorithm - Testdaten werden ähnlich der Category-Partition-Methode modelliert - Der eigentliche Test wird parallel zur Ausführung des SUT durch ein Testscript durchgeführt, der den gefundenen Pfad verifiziert. Hierfür muss das SUT Abfragemethoden bereitstellen. Leider wird das Testorakel nicht direkt angesprochen. Man kann es aber indirekt aus dem Testmodell ableiten. Es müssen einfach alle die Bedingungen und Zustände auf einem Pfad erfüllt werden, bis zu dem Endzustand...

Links and resources

Tags

community