- 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.
推薦閱讀
- Deploying Node.js
- 自然語言處理實戰:預訓練模型應用及其產品化
- Python數據分析基礎
- Python 深度學習
- Mastering Julia
- Learning Laravel 4 Application Development
- 利用Python進行數據分析(原書第3版)
- Symfony2 Essentials
- C指針原理揭秘:基于底層實現機制
- Learning Python Data Visualization
- Mastering VMware Horizon 7(Second Edition)
- Kotlin進階實戰
- Mastering Apache Camel
- Visual C++程序設計與項目實踐
- Shopify Application Development