一种基于面向对象测试模型的测试代码生成方法与工具  被引量:4

A Test Script Generating Method and Tool for OO Test Model

在线阅读下载全文

作  者:谢冰[1] 张晨东[2] 

机构地区:[1]北京大学高可信软件技术教育部重点实验室,北京100871 [2]北京大学软件工程国家工程研究中心,北京100871

出  处:《计算机研究与发展》2008年第z1期336-340,共5页Journal of Computer Research and Development

基  金:国家科技支撑计划课题基金项目(2006BAH02A00);国家自然科学基金项目(60473059)

摘  要:在大规模的采用面向对象技术的软件开发过程中,自动化测试能起到重要作用.面向对象的程序设计方法对软件的自动化测试提出了新的问题.例如,多态、继承和动态绑定等在过程式的程序设计中不存在的问题.提出了一种支持面向对象软件测试的自动化测试方法.其中,首先提出了一种面向对象测试模型;对一个被测软件,基于该模型描述其测试特征,并基于反射机制获得对象的结构,可自动生成测试代码;并在此基础上实现了一个微软平台上的对象测试自动化工具.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 the software structure are to be presented through reflection technologies and the test script can be generated automatically. Finally, an automated testing tool on Microsoft net platform is implemented.

关 键 词:代码生成 软件测试自动化 自动化测试工具 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象