- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 145字
- 2021-06-24 18:31:45
No debugging
We (authors of this book) almost never debug applications we're working on!
This statement might sound pompous, but it's true. We almost never debug because there is rarely a reason to debug an application. When tests are written before the code and the code coverage is high, we can have high confidence that the application works as expected. This does not mean that applications written using TDD do not have bugs—they do. All applications do. However, when that happens, it is easy to isolate them by simply looking for the code that is not covered by tests.
Tests themselves might not include some cases. In those situations, the action is to write additional tests.
With high code coverage, finding the cause of some bug is much faster through tests than spending time debugging line by line until the culprit is found.
推薦閱讀
- ExtGWT Rich Internet Application Cookbook
- Django+Vue.js商城項目實戰
- Beginning C++ Game Programming
- Building a RESTful Web Service with Spring
- Java項目實戰精編
- RISC-V體系結構編程與實踐(第2版)
- C語言程序設計教程
- Python深度學習原理、算法與案例
- Python 快速入門(第3版)
- Getting Started with the Lazarus IDE
- Visual FoxPro程序設計實驗教程
- MATLAB計算機視覺實戰
- Instant JRebel
- Mastering Android NDK
- 軟件測試技術實戰:設計、工具及管理