与设计模式相结合的测试驱动开发方法  被引量:1

Test-driven development method combined with design pattern

在线阅读下载全文

作  者:程烨[1] 高建华[1] 

机构地区:[1]上海师范大学数理信息学院计算机系,上海200234

出  处:《计算机工程与设计》2006年第16期3105-3107,共3页Computer Engineering and Design

摘  要:测试驱动开发是与传统程序开发方式相反的一种新型程序设计方法。它以测试编码来推动程序设计,大大缩减了设计和编码的冗余度。设计模式是在软件设计过程中解决某一类问题的方法,是在经过前人总结得出的方法中选出一种最适合当前系统使用的方法。设计模式与测试驱动开发方法具有互补性。对一种结合设计模式的测试驱动开发方法进行了研究,该方法在前期先用设计模式进行系统构架设计,然后使用测试驱动开发方法进行程序开发。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.

关 键 词:测试 测试驱动开发 设计模式 软件工程 可靠性 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象