- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 94字
- 2021-06-24 18:31:51
The Red-Green-Refactor process
The Red-Green-Refactor process is the most important part of TDD. It is the main pillar, without which no other aspect of TDD will work.
The name comes from the states our code is in within the cycle. When in the red state, code does not work; when in the green state, everything is working as expected, but not necessarily in the best possible way. Refactor is the phase when we know that features are well covered with tests and thus gives us the confidence to change it and make it better.
推薦閱讀
- HornetQ Messaging Developer’s Guide
- 騰訊iOS測試實踐
- Mastering Natural Language Processing with Python
- Practical Windows Forensics
- 秒懂設計模式
- PySide GUI Application Development(Second Edition)
- ASP.NET 3.5程序設計與項目實踐
- Building an RPG with Unity 2018
- 琢石成器:Windows環境下32位匯編語言程序設計
- Symfony2 Essentials
- Visual C#通用范例開發金典
- 深度學習:Java語言實現
- 從零開始學C#
- The Professional ScrumMaster’s Handbook
- 智能手機故障檢測與維修從入門到精通