期刊文献+

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

A Test Script Generating Method and Tool for OO Test Model
在线阅读 下载PDF
导出
摘要 在大规模的采用面向对象技术的软件开发过程中,自动化测试能起到重要作用.面向对象的程序设计方法对软件的自动化测试提出了新的问题.例如,多态、继承和动态绑定等在过程式的程序设计中不存在的问题.提出了一种支持面向对象软件测试的自动化测试方法.其中,首先提出了一种面向对象测试模型;对一个被测软件,基于该模型描述其测试特征,并基于反射机制获得对象的结构,可自动生成测试代码;并在此基础上实现了一个微软平台上的对象测试自动化工具. 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.
作者 谢冰 张晨东
出处 《计算机研究与发展》 EI CSCD 北大核心 2008年第z1期336-340,共5页 Journal of Computer Research and Development
基金 国家科技支撑计划课题基金项目(2006BAH02A00) 国家自然科学基金项目(60473059)
关键词 代码生成 软件测试自动化 自动化测试工具 code generation software testing automation automatic testing tool
作者简介 谢冰 男,1970年生,博士,教授,硕士生导师,主要研究方向为软件工程、计算机理论科学. (xiebing@sei.pku.edu.cn) 张晨东 男,1960年生,博士,主要研究方向为软件工程及其工具研发(zhangcd@beidasoft.com).
  • 相关文献

参考文献6

  • 1[1]Mike Clark.Pragmetic Project Automation.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2004
  • 2[2]Elfriede Dustin,Jeff Rashka,John Paul.Automated Software Testing:Introduction,Management,and Performance.Indianapolis,Indiana:Addison-Wesley Professional,1999
  • 3[3]Daniel J Mosley,Bruce A Posey.Just Enough Software Test Automation.Indianapolis:Prentice Hall PTR,2002
  • 4[4]Andrew Hunt,David Thomas.The Pragmatic Starter Kit-Volume II:Pragmatic Unit Testing in Java with JUnit.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2003
  • 5[5]Andrew Hunt,David Thomas.The Pragmatic Starter Kit-Volume II:Pragmatic Unit Testing in C# with NUnit.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2003
  • 6[6]Kanglin Li,Mengqi Wu.Effective Software Test Automation.Berkeley:SYBEX,2004

同被引文献35

引证文献4

二级引证文献22

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部