- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 152字
- 2021-06-24 18:31:43
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.
推薦閱讀
- Spring Boot 2實戰之旅
- TypeScript Blueprints
- Learning Real-time Processing with Spark Streaming
- Spring Cloud Alibaba微服務架構設計與開發實戰
- ASP.NET Core 5.0開發入門與實戰
- MySQL數據庫應用與管理 第2版
- Java入門很輕松(微課超值版)
- Koa開發:入門、進階與實戰
- Oracle 18c 必須掌握的新特性:管理與實戰
- Learning OpenStack Networking(Neutron)(Second Edition)
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- HTML5 APP開發從入門到精通(微課精編版)
- 匯編語言編程基礎:基于LoongArch
- Clojure for Machine Learning
- PHP與MySQL權威指南