官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 陆河县| 禹州市| 夏邑县| 大名县| 浑源县| 盘山县| 安宁市| 马山县| 西峡县| 吉安市| 逊克县| 玛纳斯县| 朝阳县| 本溪市| 广平县| 宝兴县| 清新县| 图片| 姚安县| 金乡县| 米泉市| 高邮市| 集贤县| 克拉玛依市| 信宜市| 邯郸县| 湖南省| 海原县| 嘉祥县| 岐山县| 龙游县| 阳东县| 乃东县| 手游| 郓城县| 涟源市| 荣成市| 崇左市| 赤水市| 永仁县| 昌吉市|