Research on Model-driven Software Testing
Lin Wang · 2005
MDA (Model-Driven Architecture) is proposed to reuse the platform-independent design and to realize the integration and interoperation of different middleware by separating and inter-transforming of platform-independent model (PIM) and platform-specific model (PSM). Thus the design of PIM is focused on during the software develop- ment, and to solve the problem of test generation at modellevel become popular. This paper discusses the process, the method and the supporting tools of the model-driven software testing. Firstly, the model-driven software testing process is integrated with the model-driven software development. Secondly, abiding by the above process, platform- independent test (PIT) is generated from PIM, and is then transformed into platform-specific test (PST) by mapping to the specific platform. The PST is used to run the implementation in certain platform to find the inconsistency be- tween the specification and the implementation. Lastly, an automatic tool is designed to support above process and method. The method is applied in the testing of an online bank system.