I don't mean that testing is not needed. That's why I always test my code before I hand it over to other people [#3746432@0 -ROLIA.NET 相约加拿大网上社区 之 枫下论坛 & 枫下部落, 枫下论坛主坛 ]
I don't mean that testing is not needed. That's why I always test my code before I hand it over to other people
by
kqc
(一蓑烟雨)
at
2007.6.16 13:08
(#3746432@0)
In addition, due to the nature of my job (enhancing/customizing components within a complex system), many bugs are discovered during integration testing, not unit testing.
what I am trying to avoid is excessive testing/documenting and wrong placement of workforce, which in turn seriously decrease the productivity.
The programming style does not have much to do with testing itself. I am just saying that it gives the Junior an opportunity to read other people's code and design so hopefully it will benefit himself when it's turn to do his own code. I am not saying I am very senior on this, and I do enjoy reading other peple's code if the author is an experienced developer. In this way, I can learn many tricks/best practices/designs.
In addition, I do think most of the MS windows bugs are due to problems that can hardly be caught in unit testing. The QA should be blamed instead of individual developers.