not enough data!

18

Upload: ronda

Post on 11-Jan-2016

35 views

Category:

Documents


0 download

DESCRIPTION

Not enough data!. Moar Data!. Data can be real?!. Output from GPX Editor. Speed (kmph) – Altitude (m/100). Distance (km). Runkeeper design. Distance (km) – time (minutes). Waypoints. TDD Cycle. Always fake it if you can!. Tie your objects to interfaces Mock them whenever you can. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Not enough data!
Page 2: Not enough data!
Page 3: Not enough data!
Page 4: Not enough data!
Page 5: Not enough data!
Page 6: Not enough data!

Not enough data!

Page 7: Not enough data!

Moar Data!

Page 8: Not enough data!
Page 9: Not enough data!

Data can be real?!

Page 10: Not enough data!

Output from GPX Editor

Page 11: Not enough data!

Distance (km)

Spe

ed (

kmph

) –

Alti

tude

(m

/100

)

Page 12: Not enough data!

Runkeeper design

Waypoints

Dis

tanc

e (k

m)

– tim

e (m

inut

es)

Page 13: Not enough data!

TDD Cycle

Page 14: Not enough data!

Always fake it if you can!

• Tie your objects to interfaces• Mock them whenever you can

Page 15: Not enough data!

Fake Talk

• Fakes• Stubs• Mocks

Page 16: Not enough data!

Why fake it?

• It’s easier • There is a good kind of lazy• Promotes RTFM

Page 17: Not enough data!

RTFM!

• A test should be– Repeatable– Trustworthy– Fast– Maintainable

Page 18: Not enough data!

Questions