• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (04): 662-666.

• 论文 • Previous Articles     Next Articles

Testing method for model driven architecture based on ASL             

ZHANG Xiaoyan,WEN Hui   

  1. (College of Computer Science and Technology,Xi’an University of Science and Technology,Xi’an 710054,China)
  • Received:2012-09-11 Revised:2012-12-19 Online:2014-04-25 Published:2014-04-25

Abstract:

Aiming at the issues of late test startup in software development methods with model driven architecture (MDA), difficulty in finding the flaws hidden in models,deficient precise semantemes in UML model description and others, proposes a model test method based on ASL:Starting from the UML model, Action Specification Language (ASL) is applied to platform independent model (PIM) in order to build a test model. Narrates the operation mode of ASL sentences in MDA process,creating process of PIM, steps for building test cases,implementation of tests,and finally applies ASL to build test environment on the basis of UML diagrams by combining examples and creates systematical test cases to test the model and business logic.Experimental results show that the proposed model test method based on ASL can not only simplify and abstract the complicated test cases by using model driven, but also disclose the flaws in the earlier part of software life cycle,preventing the flaws from being amplified as the software development process continues.

Key words: model driven architecture;action specification language;platform independent model;test case