A framework and tool support for documenting the use of design patterns in programs based on JUnit
碩士 === 國立臺北科技大學 === 資訊工程系研究所 === 95 === The use of design patterns has already become a standard approach in object-oriented software development. While the use of design patterns can be documented in many forms ranging from formal design documents to comments in programs, keeping the document consi...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2007
|
Online Access: | http://ndltd.ncl.edu.tw/handle/9sm995 |
Summary: | 碩士 === 國立臺北科技大學 === 資訊工程系研究所 === 95 === The use of design patterns has already become a standard approach in object-oriented software development. While the use of design patterns can be documented in many forms ranging from formal design documents to comments in programs, keeping the document consistent with the source code (and vice versa) remains a distracting problem.
This thesis proposes a framework and tool support for documenting the use of design patterns in programs. With the framework, which is called Design Pattern Unit Test (DPUT), knowledge of using design patterns in programs is documented with JUnit test cases and with Java annotations. We also implement an Eclipse plug-in to facilitate the use of DPUT framework. The plug-in can generate the static structures of the design patterns for visualization.
The main contributions of DPUT are as follows. (1) Since design pattern documents are represented as JUnit test cases, consistency with source code can be checked automatically by running the test cases. (2) The Eclipse plug-in facilitates the use of DPUT framework.
|
---|