作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (S1): 190-.

• 论文 • 上一篇    下一篇

Junit设计模式分析和应用

顾颖,徐良贤,贾银军   

  1. 上海交通大学软件学院,上海交通大学电子信息与电气工程学院,IBM Solution Service Center(ISSC) 上海 200240
  • 发布日期:2004-12-29

Junit Design Pattern Analysis and Application

GUYing,XU Liangxian,JIA Yinjun   

  1. (Software School of Shanghai Jiaotong University,Shanghai 20040;School of Electrical and Information Engineering of Shanghai Jiaotong University,Shanghai 200240;IBM Solution Service Center
  • Published:2004-12-29

摘要: Junit是一个面向Java语言的单元测试框架,是一个源码开放项目。该文在实际项目中,分析了Junit的实现源码和其中所涉及的设计 模式,并总结它的应用场景。

关键词: Junit, 设计模式, Composite pattern, Command pattern, Template pattern

Abstract: Junit is a Java based unit test framework, it is an open source project. This paper analyses the source codes of the Junit based on the Junit application in the commercial project, and finds out how it uses the design pattern. Some application scenarios of Junit are also discussed in the paper.

中图分类号: