Testing is Significant!

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

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 : )

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值