节点文献

基于XML描述的类测试框架

A Framework for Class Test Based on XML Description

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李亚辉吴宇红陈琳

【Author】 LI Ya-hui~1,WU Yu-hong~1,CHEN Lin~2(1.School of Telecommunications Engineering,Xidian University,Xi’an 710071,China;2.Inst.of Research and Development,Lenovo Corporation,Beijing 100085,China)

【机构】 西安电子科技大学通信工程学院联想研究院 陕西西安710071陕西西安710071北京100085

【摘要】 类是面向对象软件的基本构成单元,要提高面向对象软件的可靠性,必须对类进行深入、全面的测试。文中提出了一种新的类测试框架,用XML脚本来描述和组织测试用例,用测试驱动程序来读取测试用例,驱动被测程序运行,并自动比较测试结果。采用本框架,能够自动、高效地对类进行测试,同时能够使测试数据与测试驱动程序相分离,有利于测试数据的维护与重用,在实际应用中取得了很好的效果。

【Abstract】 Class is the basic component of object-oriented software,so in order to improve the reliabity of object-oriented software,must test the class thoroughly.A new framework of class test is put forward in this paper,using XML to describe and organize the test cases of the class,using test driven program to read test cases,drive promgram under test to run and compare the test result automatically.By using this framework,can test classes automatically and effectively.Additionally,can seperate the test data from test driven program,which is propitious to maintain and reuse the test data.This methed has got good effect in practice.

【关键词】 软件测试XML
【Key words】 <Keyword>software testclassXML
  • 【文献出处】 微机发展 ,Microcomputer Development , 编辑部邮箱 ,2005年08期
  • 【分类号】TP311.56
  • 【被引频次】10
  • 【下载频次】110
节点文献中: 

本文链接的文献网络图示:

本文的引文网络