-
Unit Test Make Smelly Code More Smelly - [Agile]
2008-05-20
Unit tests have many benefits, they are usually expressed as:
* ensure existing logics during developing
* drive out design
* documentation of requirementsAnother big benefit is making smelly code more smelly, brave developers will listen to his/her feeling when writing unit test and identify, refactor his/her code.
Here is an example:
To be continue...
随机文章:
Make visible both progress and smell 2009-01-05敏捷和精益对我日常生活观点的影响 2008-12-17你在项目组中有“安全感”吗? 2008-11-18将客户端逻辑封装进Javascript对象,并用Jsunit做单元测试 2008-11-04
收藏到:Del.icio.us
评论