摘要
测试驱动开发是与传统程序开发方式相反的一种新型程序设计方法。它以测试编码来推动程序设计,大大缩减了设计和编码的冗余度。设计模式是在软件设计过程中解决某一类问题的方法,是在经过前人总结得出的方法中选出一种最适合当前系统使用的方法。设计模式与测试驱动开发方法具有互补性。对一种结合设计模式的测试驱动开发方法进行了研究,该方法在前期先用设计模式进行系统构架设计,然后使用测试驱动开发方法进行程序开发。
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.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第16期3105-3107,共3页
Computer Engineering and Design
关键词
测试
测试驱动开发
设计模式
软件工程
可靠性
test
test-driven development
design pattern
software engineering
reliability