- 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.
推薦閱讀
- Building a Game with Unity and Blender
- Python for Secret Agents:Volume II
- Learning Docker
- Learning RabbitMQ
- Java Web開發技術教程
- Big Data Analytics
- Learning Data Mining with R
- 學Python也可以這么有趣
- R Data Analysis Cookbook(Second Edition)
- ElasticSearch Cookbook(Second Edition)
- Linux Shell核心編程指南
- 深度學習原理與PyTorch實戰(第2版)
- Bootstrap for Rails
- Hack與HHVM權威指南
- VMware vSphere 5.5 Cookbook