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

基于J2EE的企业应用程序中自动化单元测试的实现
引用本文:贾小云,李思辉. 基于J2EE的企业应用程序中自动化单元测试的实现[J]. 机械设计与制造, 2006, 32(8): 71-73
作者姓名:贾小云  李思辉
作者单位:陕西科技大学,计算机与信息工程学院,咸阳,712081
摘    要:软件测试的自动化越来越受到软件开发企业的重视,而基于J2EE应用程序实现测试自动化却存在一定困难。在介绍了自动化测试的重要性的基础上,提出了原有的测试框架应用于J2EE程序出现的问题,讨论了使用Cactus实现J2EE程序单元测试自动化的方法及实例。在基于J2EE企业应用程序的测试中取得了良好的效果。

关 键 词:单元测试  自动化测试
文章编号:1001-3997(2006)08-0071-03
收稿时间:2005-10-12
修稿时间:2005-10-12

Use cactus to realize J2EE procedure tests automatically
JIA Xiao-yun,LI Si-hui. Use cactus to realize J2EE procedure tests automatically[J]. Machinery Design & Manufacture, 2006, 32(8): 71-73
Authors:JIA Xiao-yun  LI Si-hui
Affiliation:College of Computer and Information Engineering, Shaanxi University of Science and Technology, Xianyang 712081, China
Abstract:The automation that the unit tests is paid attention to more and more by the software development enterprise,but there are some difficult to achieve automated unit test in J2EE application program.This article introduces the importance of automated test in brief and figure out the problem when apply former test frame to J2EE application.Then it discusses to use Cactus to realize automatic method and instance of unit tests in J2EE programming.It have made a good result in the test based on J2EE enterprise's application program.
Keywords:Cactus
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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