Slide 5
Slide 5 text
TDD using Xcode Playgrounds - London, March 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