- 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.
推薦閱讀
- Mastering JavaScript Object-Oriented Programming
- Learn to Create WordPress Themes by Building 5 Projects
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- MySQL從入門到精通(軟件開發視頻大講堂)
- 深入淺出React和Redux
- RESTful Java Web Services(Second Edition)
- Visual C#.NET Web應用程序設計
- Modern C++ Programming Cookbook
- After Effects CC案例設計與經典插件(視頻教學版)
- Google Adsense優化實戰
- VMware vSphere 5.5 Cookbook
- SaaS攻略:入門、實戰與進階
- Implementing NetScaler VPX?(Second Edition)
- React.js 16從入門到實戰
- 面向WebAssembly編程:應用開發方法與實踐