官术网_书友最值得收藏!

It's not about testing

T in TDD is often misunderstood. TDD is the way we approach the design. It is the way to force us to think about the implementation and what the code needs to do before writing it. It is the way to focus on requirements and the implementation of just one thing at a time—organize your thoughts and better structure the code. This does not mean that tests resulting from TDD are useless—they are far from that. They are very useful and they allow us to develop with great speed without being afraid that something will be broken. This is especially true when refactoring takes place. Being able to reorganize the code while having the confidence that no functionality is broken is a huge boost to its quality.


The main objective of TDD is testable code design with tests as a very useful side product.
主站蜘蛛池模板: 互助| 资溪县| 蓬莱市| 科技| 灵台县| 伽师县| 景洪市| 通城县| 高台县| 茌平县| 兴隆县| 甘洛县| 邯郸市| 双峰县| 昌江| 顺昌县| 崇左市| 新源县| 凤阳县| 连州市| 南木林县| 辽阳市| 丽水市| 襄汾县| 泰来县| 保靖县| 青浦区| 通道| 乌兰察布市| 汨罗市| 若尔盖县| 新沂市| 九江县| 邓州市| 井研县| 佛冈县| 莎车县| 札达县| 宜宾市| 西贡区| 剑阁县|