摘要: 提出一个基于模型驱动架构(MDA)的测试用例生成框架,其中,平台无关的系统模型通过水平转换成平台无关的测试模型,平台无关的测试模型通过竖直转换生成相应的测试用例。利用MDA转换工具ATL和MOFScript制定相应的转换规则作用于元模型,使测试者只须提供源模型和测试数据即可生成相应的测试用例。
关键词:
模型驱动架构,
平台无关模型,
平台无关测试模型,
测试用例
Abstract: This paper proposes a test cases generation framework based on Model-Driven Architecture(MDA), in which Platform-Independent Model(PIM) is converted into a Platform-Independent Test(PIT) model through level conversion, and platform-independent test model is converted into the corresponding test cases through vertical conversion. MDA conversion tools including ATL and MOFScript are used to develop the corresponding transformation rules acting on the meta-model, so that testers only need provide source model and test data to generate the corresponding test cases.
Key words:
Model-Driven Architecture(MDA),
Platform-Independent Model(PIM),
Platform-Independent Test(PIT) model,
test case
DOI: 10.3969/j.issn.1000-3428.2011.01.014
中图分类号:
刘扬, 李亚芬, 王普. 模型驱动的测试用例自动生成框架[J]. 计算机工程, 2011, 37(01): 39-40,44.
LIU Yang, LI E-Fen, WANG Pu. Automatic Generation Framework of Model-driven Test Cases[J]. Computer Engineering, 2011, 37(01): 39-40,44.