Stories, Rules andExamples@mattwynne | BDDX 2014 London
View Slide
Rules vs ExamplesAKA, The Passwords Game
Form teams• Need an even number of teams • 2-4 people per team
In order to prevent passwordsfrom being guessed,Users must be forced to createstrong passwords
Create 3 rules• In your team, invent 3 rules for what makes avalid password • Keep the rules secret from the other teams • Be imaginative, and have a bit of fun • Examples: "It must have an @ in it" "It must not be the name of a fruit"
Create 3 examples• Create 3 examples that illustrate yourrules. • Scribble each one on a post-it note • Examples:"@pple"=> valid"apple"=> invalid"tom@to"=> valid
Guess the rules!• Pass your examples to another team. • Let them try to work out what your rulesmight be.
Clarify with examples• As a guessing team, you can create newexamples and ask them to be checked bythe team whose rules you're trying toguess. • One example at a time. • How many examples will it take to guessthe rules correctly?
So...
What was missing?
Complete the followingsentences• Examples are better than rules because… • Rules are better than examples because… • Examples without rules are like… • Rules without examples are like…
We need rules andexamples
Use examples toillustrate the rules
User StoryRules /AcceptanceCriteriaExamplesDescribe eachof these inyour ownwords