Crafting a UX Strategy for Wearables and the Mobile Mainframe
Spa2011
-
Upload
joseph-wilk -
Category
Technology
-
view
667 -
download
0
description
Transcript of Spa2011
![Page 1: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/1.jpg)
CreatingCucumbers
customersdiscussioncollaboration
acceptance
languagevalue
Joseph Wilk
Elise Huard
![Page 2: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/2.jpg)
Cucumber FeatureFeature: Be awesome NarrativeScenario: title which rocks Given <some context> And <yet more context> When <some action> And <more actions> Then <some outcome> And <more outcomes>
Not executedExample of
behaviour
Steps
![Page 3: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/3.jpg)
Cucumber FeatureFeature: Be awesome NarrativeScenario: title which rocks Given <some context> And <yet more context> When <some action> And <more actions> Then <some outcome> And <more outcomes>
Not executed
Feature: Be awesome NarrativeScenario: title which rocks Given <some context> And <yet more context> When <some action> And <more actions> Then <some outcome> And <more outcomes>
Example of behaviour
Steps
![Page 4: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/4.jpg)
Ruby
Plaintext
Ruby
Plaintext
Plaintext
Ruby
![Page 5: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/5.jpg)
Ruby
Plaintext
Ruby
Plaintext
Plaintext
Given we like cukes
Ruby
Step
![Page 6: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/6.jpg)
Ruby
Plaintext
Ruby
Plaintext
PlaintextGiven /^we like (.*)$/i do |fruit| fruit.should == 'cukes'end
Given we like cukes
Ruby
Step
Stepdefinition
![Page 7: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/7.jpg)
Ruby
Plaintext
Ruby
Plaintext
PlaintextGiven /^we like (.*)$/i do |fruit| fruit.should == 'cukes'end
regexp match
Given we like cukes
Ruby
Step
Stepdefinition
![Page 8: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/8.jpg)
Cucumber Style?
![Page 9: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/9.jpg)
Problems
Global regular-expressions
Unmaintainable large step-definition files
Flexibility
Coverage vs. Speed tradeoffsComplex regular-expressions are hard to read
![Page 10: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/10.jpg)
Workshop:“The writing’s on the wall”
5mins per example
![Page 11: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/11.jpg)
Gherkin writing workshop
20mins
![Page 12: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/12.jpg)
Go - Weiqi - Baduk
![Page 13: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/13.jpg)
![Page 14: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/14.jpg)
![Page 15: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/15.jpg)
Feature
In order to prevent invalid moves
As a GoVsGO website member
I want the rules of Go enforced.
The Rules of Go
![Page 16: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/16.jpg)
Capture After playing his stone a player removes from the board any stones of his opponent's colour that have no liberties.
SuicideA player cannot place a stone that would result in the capture of their own stones
KoOne 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
Go Rules
![Page 17: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/17.jpg)
How tasty is your Cucumber?
yum
![Page 18: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/18.jpg)
Learnings
Not Exhaustive, key examples(Maths book)
Does not dictateintegration testing
Allow features to breathe
Why?
![Page 19: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/19.jpg)
The Art of CucumberSeptember 27thSkillsmatters
http://theartofcucumber.eventbrite.com
![Page 20: Spa2011](https://reader033.fdocuments.net/reader033/viewer/2022060111/5562e72bd8b42ab47d8b4be8/html5/thumbnails/20.jpg)
Thanks
Joseph Wilkhttp://blog.josephwilk.net
@josephwilk
Its been emotional
Elise Huardhttp://jabberwocky.eu
@elise_huard