浏览 1923 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-09-03
unit test give me a good lesson today:
As always, GUI has few unit tests because limited time frame, but - I define a new extension point in Eclipse, write a couple of classes which allow me to process those extensions easily, then I write a very very simple unit test class in case somebody will shout at me, but guess what happen? that simple unit test help me find a deep bug in my code, I believe it's not easy to find that bug without detail code review, maybe it can be found during runtime, but unit test find it with no more than 10 lines. Cool unit test! 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |