摘要: 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.
中图分类号:
顾颖,徐良贤,贾银军. Junit设计模式分析和应用[J]. , 2004, 30(S1): 190-.
GUYing,XU Liangxian,JIA Yinjun. Junit Design Pattern Analysis and Application[J]. , 2004, 30(S1): 190-.