These are the slides for my Specification by example presentation. This particular version was given as part of my "I'm telling you for the last time"-series (see http://www.marcusoft.net/2013/11/ImTellingYou.html).
47. 1. Start with wide end of it on your right and
extending a foot below the narrow end
2. Cross wide end over narrow and turn back
underneath
3. Bring up and turn down to loop
4. Pass wide end around frong from left to right
5. Then, up through loop ...
6. And down through knot in front. Tigthen carefully
and draw up to collar.
48.
49. Go concrete with examples
http://www.flickr.com/photos/bensutherland/3961418687/
50. Scenario 1: Account is in credit!
Given the account is in credit!
And the card is valid!
And the dispenser contains cash!
When the customer requests €50!
Then !
ensure the account is debited €50!
And ensure €40 is dispensed!
And ensure the card is returned
73. Examples should be
precise and testable
Scripts are not specifications
Specifications should be about business
functionality, not software design
74. Examples should be
precise and testable
Scripts are not specifications
Specifications should be about business
functionality, not software design
Specifications should
be self-explanatory
75. Examples should be
precise and testable
Scripts are not specifications
Specifications should be about business
functionality, not software design
Specifications should
be in domain language
Specifications should
be self-explanatory
88. A Cucumber Scenario
Scenario 1: Account is in credit!
Given the account is in credit!
And the card is valid!
And the dispenser contains cash!
When the customer requests €50!
Then !
ensure the account is debited €50!
And ensure €50 is dispensed!
And ensure the card is returned