Date post: | 05-Dec-2014 |
Category: |
Technology |
Upload: | eraserhd |
View: | 414 times |
Download: | 0 times |
ATDD Game Development
Jason Felice@eraserhd
LeanDog Studio (on a boat!)http://objvimmer.com/
Thursday, November 1, 12
Thursday, November 1, 12
Process
• Write the feature’s cukes first (with the game designer)
• Implement the steps for a cuke
• Write a unit test
• Make unit pass
• Repeat
Thursday, November 1, 12
Pwoblems
• No DOM, no UI
• Nothing is accessible
• Nonstandard gestures
• Business stories, what?
• Very timing-dependent stuff
Thursday, November 1, 12
How to Find Things
Thursday, November 1, 12
ASCII Art
Thursday, November 1, 12
How to Read the Screen
• Store stuff in accessibility label
• Hack your testing framework to find non-UI elements
• Add invisible 1x1 reference elements
Thursday, November 1, 12
Messing with Apple
• Use applescript
• Move the window to the upper-left corner
• Click on a fixed location
Thursday, November 1, 12
Use Fewer Cukes
• Does it prove this feature works?
• Does it check the happy path (or one that we really care about)?
• Otherwise, UNITS!!!
Thursday, November 1, 12
GET FEEDBACK!!!
• Really.
• Really, really.
• Really, really, really.
Thursday, November 1, 12