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

与设计模式相结合的测试驱动开发方法
引用本文:程烨,高建华. 与设计模式相结合的测试驱动开发方法[J]. 计算机工程与设计, 2006, 27(16): 3105-3107
作者姓名:程烨  高建华
作者单位:上海师范大学,数理信息学院计算机系,上海,200234;上海师范大学,数理信息学院计算机系,上海,200234
摘    要:测试驱动开发是与传统程序开发方式相反的一种新型程序设计方法.它以测试编码来推动程序设计,大大缩减了设计和编码的冗余度.设计模式是在软件设计过程中解决某一类问题的方法,是在经过前人总结得出的方法中选出一种最适合当前系统使用的方法.设计模式与测试驱动开发方法具有互补性.对一种结合设计模式的测试驱动开发方法进行了研究,该方法在前期先用设计模式进行系统构架设计,然后使用测试驱动开发方法进行程序开发.

关 键 词:测试  测试驱动开发  设计模式  软件工程  可靠性
文章编号:1000-7024(2006)16-3105-03
收稿时间:2005-09-08
修稿时间:2005-09-08

Test-driven development method combined with design pattern
CHENG Ye,GAO Jian-hua. Test-driven development method combined with design pattern[J]. Computer Engineering and Design, 2006, 27(16): 3105-3107
Authors:CHENG Ye  GAO Jian-hua
Affiliation:Department of Computer Science and Technology, Shanghai Normal University, Shanghai 200234, China
Abstract:Test-driven development is a new program design method, which is opposite to the traditional program design method. The program is improved by testing codes to decrease the redundance of program-design and programming greatly. Design pattern is the method of solving a certain class of problems during the software system being designed. It is the best method of all the methods con- clueded by the experiences to the current system being developed. A new method of test-driven development combined with design pattern is proposed. In this method, the system structure in the prophase is designed, then test-driven developing is used in the following phase.
Keywords:test   test-driven development   design pattern   software engineering   reliability
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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