I hated testing. I thought it was trivial & unnecessary. After these days' work, I've totally pulled down my former opinion on testing.
My tasks in these days are unit testing. It is surprised that there are so many hidden & functional bugs in the code! Some bugs are even related to the design of the code, and some would occur only when the testing condition is really extreme...
Now, I know that adequate testing is the best way of bettering code, because it's always good saving the bugs among the developers than leaking them to consumers : )

作者最初认为测试是琐碎且不必要的,但经过实际工作经历后改变了看法。通过进行单元测试,发现了许多隐藏的功能性错误,甚至一些与代码设计相关的问题。极端条件下的测试也暴露出不少问题。作者意识到充分的测试对于提高代码质量至关重要,它有助于开发者内部解决问题,而不是将错误传递给最终用户。
1939

被折叠的 条评论
为什么被折叠?



