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

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.

主站蜘蛛池模板: 冀州市| 伊宁市| 芮城县| 鹤峰县| 万全县| 邓州市| 望都县| 西乌珠穆沁旗| 西乌珠穆沁旗| 德保县| 蕉岭县| 阳东县| 黄龙县| 施秉县| 太白县| 普格县| 嵊泗县| 彩票| 安义县| 岱山县| 南丰县| 罗江县| 新密市| 建德市| 筠连县| 县级市| 邯郸市| 安吉县| 深圳市| 临颍县| 东阳市| 原平市| 江北区| 汝城县| 三门峡市| 若尔盖县| 海林市| 文登市| 玉树县| 南安市| 鸡泽县|