文件名称:automated generation of test cases using MDA
文件大小:262KB
文件格式:PDF
更新时间:2013-09-13 15:37:06
模型驱动
In this paper, we demonstrate a method that uses e model transformation technology of MDA to nerate unit test cases from a platform-independent odel of the system. The method we propose is based sequence diagrams. First we model the sequence agram and then this model is automatically ansformed into a general unit test case model (an Unit model which is independent of a particular unit sting framework), using model-to-model ansformations. Then model-to-text transformations e applied on the xUnit model to generate platform- ecific (JUnit, SUnit etc.) test cases that are ncrete and executable. We have implemented the transformations in a ototype tool based on the Tefkat transformation ol and MOFScript. The paper gives details of the ol and the transformations that we have developed. e have applied the method to a small example TM Simulation).