1. Creating
Cucumbers
collaboration language
discussion value
customers acceptance
Elise Joseph
Huard Wilk
2. Cucumber Feature
Feature: Be awesome Not
Narrative executed
Example of
Scenario: title
behaviour
which rocks
Given <some context>
And <yet more context>
When <some action>
Steps
And <more actions>
Then <some outcome>
And <more outcomes>
3. Cucumber Feature
Feature: Be awesome Not
Narrative executed
Example of
Scenario: title
behaviour
which rocks
Given <some context>
And <yet more context>
When <some action>
Steps
And <more actions>
Then <some outcome>
And <more outcomes>
5. Plaintext
Step Given we like cukes
Ruby Plaintext
Plaintext
Ruby
Ruby
6. Plaintext
Step Given we like cukes
Ruby Plaintext
Plaintext
Step Given /^we like (.*)$/i do |fruit|
definition fruit.should == 'cukes'
end
Ruby
Ruby
7. Plaintext
Step Given we like cukes
regexp match
Ruby Plaintext
Plaintext
Step Given /^we like (.*)$/i do |fruit|
definition fruit.should == 'cukes'
end
Ruby
Ruby
15. Feature
The Rules of Go
In order to prevent invalid moves
As a GoVsGO website member
I want the rules of Go enforced.
16. Go Rules
Capture
After playing his stone a player removes from the board any stones of his
opponent's colour that have no liberties.
Suicide
A player cannot place a stone that would result in the capture of their own
stones
Ko
One may not play in such a way as to recreate the board position following one's
previous move
Ending
The game ends when both players have passed consecutively