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

测试驱动开发在J2EE项目中的全程实践
引用本文:陈立群.测试驱动开发在J2EE项目中的全程实践[J].计算机工程与科学,2008,30(4):86-88.
作者姓名:陈立群
作者单位:美国艾瑞(广州)软件开发有限公司,广东,广州,510663
摘    要:测试驱动开发(TDD)作为极限编程的重要思想正在日益流行,也显示出诸多优越性。本文在介绍了有关TDD的背景知识和编写步骤之后,以成熟的整合框架(Struts+Spring +Hibernate)为例,分析了J2EE项目下每层所使用的测试技术和工具,以试图说明TDD可以迅速加快开发过程并产生更高质量的软件,使代码更易于理解和重构。

关 键 词:测试驱动开发  测试先行编程  JUnit  JMock  StrutsTest  Canoo  WebTest
文章编号:1007-130X(2008)04-0086-03
修稿时间:2007年9月10日

Practice of the Test-Driven Development Throughout the J2EE Projects
CHEN Li-qun.Practice of the Test-Driven Development Throughout the J2EE Projects[J].Computer Engineering & Science,2008,30(4):86-88.
Authors:CHEN Li-qun
Abstract:Test-Driven Development(TDD) as the important idea of extreme programming is becoming more and more popular and shows lots of superiorities.This article presents the background knowledge and programming steps of TDD.And,following the mature integrated framework(Struts Spring Hibernate),the paper analyses the testing technologies and tools for each layer,in order to show that TDD can rapidly speed up the process of development and breed higher quality software,and make the code easier to understand and refactor.
Keywords:test-driven development  test-first programming  JUnit  JMock  StrutsTest  Canoo WebTest
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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