SECTION 45 / 48
Red–Green–Refactor
RED: express the requirement as a test, run it and see it fail. GREEN: write the minimum code needed to pass. REFACTOR: make the code modular and elegant while the tests still pass. Repeat.
RED: express the requirement as a test, run it and see it fail. GREEN: write the minimum code needed to pass. REFACTOR: make the code modular and elegant while the tests still pass. Repeat.