Slide 4
Slide 4 text
TDD using Xcode Playgrounds - CodeMobile, April 2017
@pardel
Pick a feature to implement
making sure it’s a small enough unit.
FEATURE
Change any of the existing code
making sure ALL tests are passing.
REFACTOR
Write a failing test.
Stop as soon as you get a failure.
RED
Write code to pass the test.
Write as little code as possible.
GREEN
L (
)
TDD lifecycle
Feature, Red, Green, Refactor