loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Second International Workshop on Automation of Software Test (AST '07)
Automated Generation of Test Cases Using Model-Driven Architecture
Minneapolis Minnesota
May 20-May 26
ISBN: 0-7695-2971-2
A. Z. Javed, University of Queensland, Australia
P. A. Strooper, University of Queensland, Australia
G. N. Watson, University of Queensland, Australia
In this paper, we demonstrate a method that uses the model transformation technology of MDA to generate unit test cases from a platform-independent model of the system. The method we propose is based on sequence diagrams. First we model the sequence diagram and then this model is automatically transformed into a general unit test case model (an xUnit model which is independent of a particular unit testing framework), using model-to-model transformations. Then model-to-text transformations are applied on the xUnit model to generate platformspecific (JUnit, SUnit etc.) test cases that are concrete and executable. We have implemented the transformations in a prototype tool based on the Tefkat transformation tool and MOFScript. The paper gives details of the tool and the transformations that we have developed. We have applied the method to a small example (ATM Simulation).
Citation:
A. Z. Javed, P. A. Strooper, G. N. Watson, "Automated Generation of Test Cases Using Model-Driven Architecture," ast, pp.3, Second International Workshop on Automation of Software Test (AST '07), 2007
Usage of this product signifies your acceptance of the Terms of Use.