- 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.
推薦閱讀
- Learn to Create WordPress Themes by Building 5 Projects
- NLTK基礎教程:用NLTK和Python庫構建機器學習應用
- 實戰Java程序設計
- Data Analysis with IBM SPSS Statistics
- C語言從入門到精通(第4版)
- Python完全自學教程
- 區塊鏈技術進階與實戰(第2版)
- Image Processing with ImageJ
- Python 3 數據分析與機器學習實戰
- Scratch從入門到精通
- Go語言入門經典
- R的極客理想:量化投資篇
- Mastering ASP.NET Core 2.0
- MySQL數據庫應用實戰教程(慕課版)
- jQuery Mobile Web Development Essentials(Second Edition)