Escolar Documentos
Profissional Documentos
Cultura Documentos
Real-World Techniques
@L4rk
Sunday, March 1, 2009 1
Walk of the Talk
Therefore, we value
testing & communication…
Way
Sunday, March 1, 2009 3
Test
• Testing is communication
• Both are “baked in” to our agile process
• That is, with low overhead
• This saves you dough
• Walk through our process, first tool is...
• Communication aspects...
• C2D: transparency,
scheduling
• Communication aspects...
• C2D: stories are tokens of a conversation
• D2D: make sure to write stories at a level
developer can actually implement
• Techniques we use…
• Direct capture to Tracker
• Standard forms:
In order to / As a / I want to
Given / When / Then
• Written together with client, with close
developer aide
• Communication aspects…
• Who’s pairing? (Some, most, all.)
• Hopefully, you know the benefits already.
• D2D: keep focused, honest, high quality
• D2C: redundancy, bus sensitivity
• Daily stand-ups
• Fiscal aspects…
• Oh, boy.
• I could tell you, “Studies show…”
• Or I could just tell you, “Do it.”
• “No, no. Seriously. Do it.”
• RSpec • Selenium
• Fiscal aspects…
• Who’s heard, “We don’t have time to test!”
• Quit that job, immediately.
• Unless it’s Obie who says it.
• You don’t have time not to test.
• Techniques we use…
• The usual, capistrano
• Supported by continuous integration
• Deploy to Engine Yard staging slice
• Also, Amazon EC2 instances
• Fiscal aspects…
• Respond to market, recoup investment at
any time, when it makes business sense, or
you run out of money, or find better things
to do with it
• Once we’ve delivered…
• Techniques we use…
• Developer-assisted acceptance
• Ideally, on-site
• Video chats
• Daily stand-up
• Fiscal aspects…
• Verify you got what you paid for
• Sooner rather than later
• Change direction anytime
• So, that’s what we’re up to now…
Geek Automated
2 Integration Tests
English (Cucumber)
Client
Speaks
English
MVC Tests
You
Speak
Geek
Regular Code
+
-
Stay metal.