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

Java存储过程的自动生成与测试
引用本文:胡宏银,姚峰,何成万.Java存储过程的自动生成与测试[J].计算机工程与设计,2007,28(10):2291-2293,2296.
作者姓名:胡宏银  姚峰  何成万
作者单位:武汉工程大学,计算机学院,湖北,武汉,430073
摘    要:通过定义存储过程模板,并根据表信息替换模板中的变量,从而生成大量具有类似处理流程的Java存储过程.给出了Update存储过程的生成模板、注册模板以及测试程序模板,并用VBA实现了自动生成Java存储过程的主要方法,还讨论了测试数据的准备、测试及测试结果的确认方法.实践表明,该方法能保证软件的质量、缩短开发周期以及提高软件的可修改性.

关 键 词:Java存储过程  自动生成  测试  存储过程生成模板  存储过程注册模板  存储过程测试程序模板  Java  存储过程  自动  测试结果  procedure  store  test  generation  可修改性  开发周期  质量  软件  实践  确认方法  测试数据  程序模板  注册  Update  处理流程  量具
文章编号:1000-7024(2007)10-2291-03
修稿时间:2006-05-05

Automatic generation and test of Java store procedure
HU Hong-yin,YAO Feng,HE Cheng-wan.Automatic generation and test of Java store procedure[J].Computer Engineering and Design,2007,28(10):2291-2293,2296.
Authors:HU Hong-yin  YAO Feng  HE Cheng-wan
Affiliation:School of Computer, Wuhan Institue of Technology, Wuhan 430073, China
Abstract:Lots of java store procedures are generated, which are based on store procedure template and replace variables of template with tables information. Generation template, register template and test template of update store procedure are discussed and the typical method of store procedure generation is implemented with VBA, and preparation of test data, test and test result affirmed method are also discussed. It is proved that the method can keep quality of software, reduce the period of development and improve the modifiability of software.
Keywords:Java store procedure  automatic generation  test  store procedure generation template  store procedure register template  store procedure test program template
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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