首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于面向对象测试模型的测试代码生成方法与工具
引用本文:谢冰,张晨东.一种基于面向对象测试模型的测试代码生成方法与工具[J].计算机研究与发展,2008,45(Z1):336-340.
作者姓名:谢冰  张晨东
作者单位:1. 北京大学高可信软件技术教育部重点实验室,北京,100871
2. 北京大学软件工程国家工程研究中心,北京,100871
基金项目:国家科技支撑计划 , 国家自然科学基金
摘    要:在大规模的采用面向对象技术的软件开发过程中,自动化测试能起到重要作用.面向对象的程序设计方法对软件的自动化测试提出了新的问题.例如,多态、继承和动态绑定等在过程式的程序设计中不存在的问题.提出了一种支持面向对象软件测试的自动化测试方法.其中,首先提出了一种面向对象测试模型;对一个被测软件,基于该模型描述其测试特征,并基于反射机制获得对象的结构,可自动生成测试代码;并在此基础上实现了一个微软平台上的对象测试自动化工具.

关 键 词:代码生成  软件测试自动化  自动化测试工具
修稿时间:2007年7月10日

A Test Script Generating Method and Tool for OO Test Model
Xie Bing,Zhang Chendong.A Test Script Generating Method and Tool for OO Test Model[J].Journal of Computer Research and Development,2008,45(Z1):336-340.
Authors:Xie Bing  Zhang Chendong
Affiliation:Xie Bing1 , Zhang Chendong2 1(Key Laboratory of High Confidence Software Technologies (Peking University),Ministry of Education,Beijing 100871)2(National Engineering Research Center for Software Engineering,Peking University,Beijing 100871)
Abstract:Automated testing for object-oriented software system plays an important role in large-scale software development process. Object-oriented programming brings new problems for automated testing. Some problems are not to be found in procedural programming, such as polymorphism, inheritance, and dynamic binding. In this paper, an automated test method supporting object-oriented software testing is introduced. An object-oriented test model has been constructed firstly. Based on the model, the characteristics of...
Keywords:code generation  software testing automation  automatic testing tool  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号