Development is not finished without test code and ..... [#3747064@0 -ROLIA.NET 相约加拿大网上社区 之 枫下论坛 & 枫下部落, 枫下论坛主坛 ]
Development is not finished without test code and .....
by
javaguy
(javaguy)
at
2007.6.16 22:18
(#3747064@0)
1.unit test is not testing everything,but the critical part. you don't need to test getters or setters of a java bean.
2.unit test can improve your design, sometime I cant write the test code because i found my code was too tightly coupled each other.
3.Suppose you fix a bug, how can you make sure the fix won't affect old functions if you dont have any old tests.