Problem: dependency Symptom: duplication
- Write failing test BEFORE writing any code
- Remove duplication
get to green ASAP, quick&dirty:
tests driving code:
Results:
- organic design
- vs over-engineered code
- courage
- vs fear
- rest between
- self testing code
Split up
- design
- getting code to work
because they are conflicting activities
Pattern: put a bad feeling into a test Pattern: put a bad feeling into a test