Computer Engineering and Applications ›› 2007, Vol. 43 ›› Issue (17): 97-99.

• 产品、研发、测试 • Previous Articles     Next Articles

MDA-based software test case generation

JIANG Zhong-wei,ZHANG Yun-hua,XIE Xuan-ang   

  1. College of Informatics & Electronics,Zhejiang Sci-Tech University,Hangzhou 310033,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-06-11 Published:2007-06-11
  • Contact: JIANG Zhong-wei

基于MDA的软件测试用例生成

蒋忠炜,张云华,谢轩昂   

  1. 浙江理工大学 信电学院,杭州 310033
  • 通讯作者: 蒋忠炜

Abstract: This paper proposes an approach of applying the model driven code in MDA into automatic generation of model driven software test case.Based on UML/OCL model,we develop a framework of automatic generation on unit test case by adopting fault-based theory,mutant analysis technology and constraint handle rule,which improves the automatic level of software test and the efficiency of software development.

Key words: MDA, OCL, fault-based test, test case generation

摘要: 将MDA中模型驱动的软件代码自动化生成思想应用于模型驱动的软件测试用例自动化生成。从UML/OCL模型出发,采用缺陷测试理论、变异分析技术,结合约束处理规则,开发一个可以自动生成单元测试用例的框架,提高软件测试的自动化程度,从整体上提高软件的开发效率。

关键词: MDA, OCL, 缺陷测试, 测试用例生成