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

测试驱动开发及开发实践
引用本文:张扬,黄厚宽.测试驱动开发及开发实践[J].微机发展,2006,16(5):74-76.
作者姓名:张扬  黄厚宽
作者单位:北京交通大学计算机与信息技术学院 北京100044
摘    要:极限编程是适应于中小型团队在需求不明确或迅速变化的情况下进行软件开发的轻量级方法学。测试驱动开发作为极限编程思想的一种主要实践,可以有效地让程序开发人员开发出更高品质的、经过完整测试的程序。文中介绍了测试驱动开发思想,对测试驱动开发过程给出了清晰的流程,总结了测试驱动开发的多种模式。最后介绍了如何用JUnit进行测试驱动开发。

关 键 词:极限编程  测试驱动开发  JUnit
文章编号:1673-629X(2006)05-0074-03
修稿时间:2005年8月7日

Test Driven Development and Practice
ZHANG Yang,HUANG Hou-kuan.Test Driven Development and Practice[J].Microcomputer Development,2006,16(5):74-76.
Authors:ZHANG Yang  HUANG Hou-kuan
Abstract:Extreme programming(XP)is a kind of lean development method,which adapts to the medium and small-scale group who carry on software development in a situation that the demand is indeterminate or changing rapidly.Test driven development(TDD)is a kind of main practice of a programming thought of XP.TDD can let the procedure developer develop more high-quality programs which have already passed intact test.The article introduces test driven development thought,and recommends TDD developing procedure clearly.Then,summarizes many kinds of modes of TDD.Finally,the article recommends how to carry on test driven development with JUnit.
Keywords:extreme programming  test driven development  JUnit  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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