期刊文献+

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

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

参考文献10

  • 1Kent Beck.Test-driven development by example[M].Addison Wesley publisher,2003.95-128.
  • 2Kent Beck.Aim,Fire[J].IEEE Software,2001,18:87-89.
  • 3David Astels.Test-driven development[M].Prentice Hall,2002.43-88.
  • 4Giancarlo Succi,Michele Marehesi.Extreme programming examined[M].Prentice Hall,2002.214-308.
  • 5Erich Gamma.Design patterns:Elements of reusable objectoriented software[M].Addison Wesley publisher,2002.30-44.
  • 6Dave Chaplin.Test driven development[EB/OL].httP://www.byte-vision.com/TestDrivenDevelopment-Article.aspx.
  • 7eclipse 官方网站[EB/OL].http://www.eclipse.org.
  • 8Abstract Factory[EB/OL].http://www.dofactory.com/Patterns/PatternAbstract.aspx.
  • 9Junit 官方网站[EB/OL].http://www.junit.org.
  • 10John D McGregor,David A Sykes.A practical guide to testing object-oriented software[M].北京:机械工业出版社,2002.

同被引文献1

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部