作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (01): 39-40,44. doi: 10.3969/j.issn.1000-3428.2011.01.014

• 软件技术与数据库 • 上一篇    下一篇

模型驱动的测试用例自动生成框架

刘 扬,李亚芬,王 普   

  1. (北京工业大学电子信息与控制工程学院,北京 100124)
  • 出版日期:2011-01-05 发布日期:2010-12-31
  • 作者简介:刘 扬(1983-),女,硕士研究生,主研方向:模型驱动测试,Web应用技术;李亚芬,高级工程师;王 普,教授

Automatic Generation Framework of Model-driven Test Cases

LIU Yang, LI Ya-fen, WANG Pu   

  1. (College of Electronic Information and Control Engineering, Beijing University of Technology, Beijing 100124, China)
  • Online:2011-01-05 Published:2010-12-31

摘要: 提出一个基于模型驱动架构(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

中图分类号: