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

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.

主站蜘蛛池模板: 庆安县| 句容市| 团风县| 涪陵区| 泸定县| 绥中县| 福安市| 边坝县| 隆安县| 灌云县| 龙里县| 定州市| 长乐市| 瓮安县| 革吉县| 屏东市| 阜宁县| 崇义县| 东安县| 独山县| 兴海县| 滨海县| 登封市| 页游| 孙吴县| 额济纳旗| 泰顺县| 汉中市| 敖汉旗| 涡阳县| 通化市| 中阳县| 慈溪市| 河津市| 开江县| 鄂托克前旗| 颍上县| 阳高县| 冀州市| 谢通门县| 长白|