Not enough data!
Moar Data!
Data can be real?!
Output from GPX Editor
Distance (km)
Spe
ed (
kmph
) –
Alti
tude
(m
/100
)
Runkeeper design
Waypoints
Dis
tanc
e (k
m)
– tim
e (m
inut
es)
TDD Cycle
Always fake it if you can!
• Tie your objects to interfaces• Mock them whenever you can
Fake Talk
• Fakes• Stubs• Mocks
Why fake it?
• It’s easier • There is a good kind of lazy• Promotes RTFM
RTFM!
• A test should be– Repeatable– Trustworthy– Fast– Maintainable
Questions