- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 151字
- 2021-06-24 18:31:51
Writing the implementation code
The purpose of this phase is to write code that will make the last test pass. Do not try to make it perfect, nor try to spend too much time with it. If it's not well-written or is not optimum, that is still okay. It'll become better later on. What we're really trying to do is to create a safety net in the form of tests that are confirmed to pass. Do not try to introduce any functionality that was not described in the last test. To do that, we are required to go back to the first step and start with a new test. However, we should not write new tests until all the existing ones are passing.
In this phase, we are still in the red stage. While the code that was written would probably pass all the tests, that assumption is not yet confirmed.
推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Learn Blockchain Programming with JavaScript
- R語言數據分析從入門到精通
- Delphi程序設計基礎:教程、實驗、習題
- Vue.js 3.x從入門到精通(視頻教學版)
- C語言程序設計
- 計算機應用基礎案例教程
- Python+Tableau數據可視化之美
- Creating Data Stories with Tableau Public
- Odoo 10 Implementation Cookbook
- Java并發編程:核心方法與框架
- Flink技術內幕:架構設計與實現原理
- Python Programming for Arduino
- PowerDesigner 16 從入門到精通
- AutoCAD基礎教程