SlideShare a Scribd company logo
Specification by Exampleand a journey towards itSoftware Craftsmanship and Testing Camp,Germany 2011Sergey Shishkinhttp://shishkin.org@sshishkin
~40 peoplePM, DEV, QA teams3 months releases
Specification by Example
Specification by Example
Specification by Example
Specification by Example
Specification by Example
Specification by Example
Specification by Example
What is software specification?
Documentation
Validation
Specification by Example
Specification by Example
Specification by Example
Specification by Example
Specification by Example
Conference RegistrationConference price is 1000 EuroEarly bird discount is 100 EuroGroup discount for 3 people or more is 10%
Links and Credits„Bridging the Communication Gap“ by GojkoAdzic:http://www.acceptancetesting.info/the-book/„Specification by Example“ by GojkoAdzic:http://specificationbyexample.com/ImagesRuler: http://www.flickr.com/photos/sterlic/4299633060How projects really work: http://www.projectcartoon.comWaterfall: http://www.flickr.com/photos/kayakaya/4488993689Bananas: http://www.flickr.com/photos/sveinhal/2488796267Books: http://www.flickr.com/photos/horiavarlan/4263328317, http://www.flickr.com/photos/horiavarlan/4264037742Paper waste: http://www.flickr.com/photos/mwparenteau/432039783Matrix: http://www.flickr.com/photos/trinity-of-one/20562069Bugs: http://www.flickr.com/photos/tywak/2940451425
Sergey Shishkinhttp://shishkin.orgsergei.shishkin@gmail.com@sshishkin

More Related Content

PPTX
Continuing professional development for zsv
PPTX
Continuing professional development for zsv
PPTX
Westford feeling overwhelmed
PPT
MOOC-M-Learning-LSN
PPT
Edayz09 Freebie Presentation
PPTX
Creating a precense in Moodle
PPTX
Tucker jonathan final_pppss
PPT
Bishop sol
Continuing professional development for zsv
Continuing professional development for zsv
Westford feeling overwhelmed
MOOC-M-Learning-LSN
Edayz09 Freebie Presentation
Creating a precense in Moodle
Tucker jonathan final_pppss
Bishop sol

What's hot (12)

PDF
Ridgway Final PPP Assignment 4.4
PDF
Web 2.0 Pedagogy
PPT
Zooburstandpop upbooks 10 18-2011
PDF
Amanda Edwards - Professional Persona Project Slideshow
PPTX
Visual resume hairston walter
PPTX
Miért fontos, hogy következetes legyen a felhasználói felületed?
PPT
Presentation At Doncaster College
PDF
Open Science workshop at Kaunas University of Technology
PDF
Extreme (web 2.0) Lesson Plan Makeover v2.1
PDF
Bazata-Jaret-pcp-1511
PDF
5 lectii de la Steve Jobs
PPTX
Poem analysis
Ridgway Final PPP Assignment 4.4
Web 2.0 Pedagogy
Zooburstandpop upbooks 10 18-2011
Amanda Edwards - Professional Persona Project Slideshow
Visual resume hairston walter
Miért fontos, hogy következetes legyen a felhasználói felületed?
Presentation At Doncaster College
Open Science workshop at Kaunas University of Technology
Extreme (web 2.0) Lesson Plan Makeover v2.1
Bazata-Jaret-pcp-1511
5 lectii de la Steve Jobs
Poem analysis
Ad

Viewers also liked (15)

PPTX
Specifications For Enterprise Testing
PPTX
Moving Towards Zero Defects with Specification by Example
KEY
Specification by Example
PPTX
Specification by Example
PPTX
BDD with F# at DDD9
PDF
Beyond Page Objects
PDF
Specification by Example - Agile India 2015
PDF
Specification by example - course summary
PDF
Using The Page Object Pattern
PDF
Amazon search test case document
ODP
Behavior Driven Development
PDF
Specification-By-Example with Gherkin
PDF
Ingesting Drone Data into Big Data Platforms
PPTX
Gypsum products in Dentistry
PPT
Automation testing strategy, approach & planning
Specifications For Enterprise Testing
Moving Towards Zero Defects with Specification by Example
Specification by Example
Specification by Example
BDD with F# at DDD9
Beyond Page Objects
Specification by Example - Agile India 2015
Specification by example - course summary
Using The Page Object Pattern
Amazon search test case document
Behavior Driven Development
Specification-By-Example with Gherkin
Ingesting Drone Data into Big Data Platforms
Gypsum products in Dentistry
Automation testing strategy, approach & planning
Ad

Similar to Specification by Example (20)

PDF
The Importance of Storytelling in Web Design, WordCamp Miami 2013
PDF
Jaunākās Open Access publikācijas (2011.gada oktobris)
PPT
Path to Better Presentations
PPT
NYLA Preconference - Beyond PowerPoint
PDF
Wilu2012 stranack
PDF
Jaunākās Open Access publikācijas (2012.gada oktobris)
PPT
Story of an online course "Facilitating Online"
PDF
Teaching Outside the "Box" handout
PDF
Pluginblc11 post
PDF
Pluginblc11 post
PPTX
New Librarians: This is your time
KEY
Social media for teaching, learning, and researching
KEY
Socialmedialiverpool 120209011224-phpapp02
PPT
A Path for Presentations
PDF
Some Kind of Wonderful
PPT
Ensinar e aprender ...com a ajuda da web
PDF
Open Access publikācijas (2010. gada oktobris)
PPT
Shots in the dark : Information Literacy in the 21st century
PDF
The Attack of the Learning Clones
PDF
Teaching Outside The Box Handout
The Importance of Storytelling in Web Design, WordCamp Miami 2013
Jaunākās Open Access publikācijas (2011.gada oktobris)
Path to Better Presentations
NYLA Preconference - Beyond PowerPoint
Wilu2012 stranack
Jaunākās Open Access publikācijas (2012.gada oktobris)
Story of an online course "Facilitating Online"
Teaching Outside the "Box" handout
Pluginblc11 post
Pluginblc11 post
New Librarians: This is your time
Social media for teaching, learning, and researching
Socialmedialiverpool 120209011224-phpapp02
A Path for Presentations
Some Kind of Wonderful
Ensinar e aprender ...com a ajuda da web
Open Access publikācijas (2010. gada oktobris)
Shots in the dark : Information Literacy in the 21st century
The Attack of the Learning Clones
Teaching Outside The Box Handout

More from Sergey Shishkin (8)

PDF
Scaling Engineering Organizations with Patterns
PDF
Hitchhiker's Guide to Functional Programming
PDF
Hitchhiker's Guide to Functional Programming
PPTX
NOSQL - not only sql
PPTX
REST - You're Doing It Wrong
PDF
NOSQL in the Cloud
PPTX
Orthogonal Architecture
PPT
Asynchronous Messaging @DNUG Cologne, 07.04.2009
Scaling Engineering Organizations with Patterns
Hitchhiker's Guide to Functional Programming
Hitchhiker's Guide to Functional Programming
NOSQL - not only sql
REST - You're Doing It Wrong
NOSQL in the Cloud
Orthogonal Architecture
Asynchronous Messaging @DNUG Cologne, 07.04.2009

Recently uploaded (20)

PPT
Lecture 3344;;,,(,(((((((((((((((((((((((
PPTX
sales presentation، Training Overview.pptx
PPTX
operations management : demand supply ch
PPTX
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PDF
Tata consultancy services case study shri Sharda college, basrur
PPTX
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
PDF
Comments on Crystal Cloud and Energy Star.pdf
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PDF
Technical Architecture - Chainsys dataZap
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PDF
Introduction to Generative Engine Optimization (GEO)
PPTX
Principles of Marketing, Industrial, Consumers,
PDF
Keppel_Proposed Divestment of M1 Limited
PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
PDF
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
PPTX
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers
Lecture 3344;;,,(,(((((((((((((((((((((((
sales presentation، Training Overview.pptx
operations management : demand supply ch
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Tata consultancy services case study shri Sharda college, basrur
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
Solaris Resources Presentation - Corporate August 2025.pdf
Comments on Crystal Cloud and Energy Star.pdf
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
Technical Architecture - Chainsys dataZap
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
Introduction to Generative Engine Optimization (GEO)
Principles of Marketing, Industrial, Consumers,
Keppel_Proposed Divestment of M1 Limited
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers

Specification by Example

  • 1. Specification by Exampleand a journey towards itSoftware Craftsmanship and Testing Camp,Germany 2011Sergey Shishkinhttp://shishkin.org@sshishkin
  • 2. ~40 peoplePM, DEV, QA teams3 months releases
  • 10. What is software specification?
  • 18. Conference RegistrationConference price is 1000 EuroEarly bird discount is 100 EuroGroup discount for 3 people or more is 10%
  • 19. Links and Credits„Bridging the Communication Gap“ by GojkoAdzic:http://www.acceptancetesting.info/the-book/„Specification by Example“ by GojkoAdzic:http://specificationbyexample.com/ImagesRuler: http://www.flickr.com/photos/sterlic/4299633060How projects really work: http://www.projectcartoon.comWaterfall: http://www.flickr.com/photos/kayakaya/4488993689Bananas: http://www.flickr.com/photos/sveinhal/2488796267Books: http://www.flickr.com/photos/horiavarlan/4263328317, http://www.flickr.com/photos/horiavarlan/4264037742Paper waste: http://www.flickr.com/photos/mwparenteau/432039783Matrix: http://www.flickr.com/photos/trinity-of-one/20562069Bugs: http://www.flickr.com/photos/tywak/2940451425

Editor's Notes

  • #2: Set expectations:Real story of a software product development teamNot focused on a tool“Why” & “what”“How” in a follow-up deep-dive workshop
  • #3: The Beginning:Strict waterfall processSpecialized people organized by their functionLong release cycles
  • #4: PM’s goal was to prepare the specification document before the “specification freeze”.Working ahead of development.
  • #5: Dev’s solely responsibility was to write code.No influence on product design => creativity in code (layers, patterns, abstractions for the sake of themselves).No responsibility for quality.
  • #6: Fear of blame leads to over-specificationOver-specification leads to inconsistent and outdated specs as soon as development beginsInconsistent specs cause blameHow much business value does a complete specification alone contribute?
  • #7: QA’s goal was to find and file as many “bugs” as possible in the rest of the time -> much stressHow much does a filed bug contribute to quality?How much rework does it cost?
  • #8: Metaphor: Ivan Krylov‘s fable about a swan, a pike (fish) and a crayfish, who teamed together to carry a wagon. Despite of their good will and effort the wagon stood still because each pulled in a different direction.PM were flying in the sky, Dev drove the product aside, while QA slowed the product down by creating rework.
  • #9: At that time we started to implement Scrum.It was the same waterfall, compressed to fit into four weeks sprints.It became apparent that we could not deliver planned business value while following old habits.Specification by example helped us to “invert” our workflow and made Scrum actually work.
  • #10: The “Bridging the Communication Gap” book by GojkoAdzic was a breakthrough for me:The best way to explain and specify something is to provide examples;Software specification is a collaborative effort;QA is better involved from the beginning, thus building quality in, not verifying it afterwards.
  • #11: So what is a spec?Why do we need one?What makes it good?
  • #12: Although agile values working software more than comprehensive documentation, documentation is still an important function of a spec.Up-to-date documentation is costly.
  • #13: Spec provides a foundation for validation.Automated validation is not the goal of specification.
  • #14: The main function of a spec is communication of the product intent during development.Short releases prevent big mistakes in the end of the project, but don’t save us from doing smaller mistakes each iteration.Mistakes are rework.
  • #15: We must preserve intent at least.
  • #16: At best we aim to understand real business goals and derive the scope from them.
  • #17: Spec defines not only what the product should do, but also what it should not.
  • #18: Good spec is a lo-fi, just-in-time tool for transforming blurry ideas into crisp products.
  • #19: This is an example of a specification by example.Who can spot a disambiguation in it?Nevertheless provided with examples this specification leaves no room for misinterpretation.Given this example, a team will further discuss the price calculation model, discount precedence etc.A critical mind will even ask, how a group is identified? Can two separate registrations build a group for a discount?This discussion is exactly what specification is for.This time is exactly right for this type of discussions.