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

面向对象测试代码复用算法与工具
引用本文:谢冰,张晨东,强彦.面向对象测试代码复用算法与工具[J].计算机工程与科学,2008,30(11):109-110.
作者姓名:谢冰  张晨东  强彦
作者单位:1. 北京大学软件工程国家工程研究中心,北京,100871
2. 太原理工大学,山西,太原,030024
摘    要:本文主要研究面向对象软件系统的自动化测试代码的复用问题。复用测试代码是基于建立的方法测试用例。当创建了一个方法的测试用例之后,可以发现这个用例可在其他相 关方法的测试过程中起到多种作用。这个生成的测试用例可以作为另一个方法测试输入的对象参数,或者作为一个主测试对象以调用其方法。我们设计了一个可自动生成复用用测试代码的算法,并应用于一个微软平台上的对象测试自动化工具的研发过程中。

关 键 词:软件复用  软件测试自动化  自动化测试工具

A Test Script Reuse Method and Tool for the OO Test Models
XIE Bing,ZHANG Chen-dong,QIANG Yan.A Test Script Reuse Method and Tool for the OO Test Models[J].Computer Engineering & Science,2008,30(11):109-110.
Authors:XIE Bing  ZHANG Chen-dong  QIANG Yan
Abstract:This paper focues on studying the issue of reusing the automatic test code for object-oriented software systems.The basic idea to reuse the test code comes from method test case building.When we produce a method test case,we find that the test case can play different roles in testing other methods which may have some relationship with it.This test case can be reused as an object argument passed to a method or as a major object whose method is to be invoked.We have developed an algorithm of automatically generating reuse test code.Finally,we give the implementation of an automated testing tool on the Microsoft.Net platform.
Keywords:software reuse  software testing automation  automatic test tool
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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