Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
@gil_zilberfeld
The Empire Tests
First
Making a Star Wars
movie with BDD
@gil_zilberfeld
Hello!
I AM GIL ZILBERFELD
www.gilzilberfeld.com
www.everydayunittesting.com
@gil_zilberfeld
@gil_zilberfeld
First things first
◉ Copy darkFunction Editor
◉ And images from the memory
sticks
◉ Or from http://bit.ly/...
@gil_zilberfeld
Brian
Marick’s
Testing
Quadrants
@gil_zilberfeld
Why test first?
@gil_zilberfeld
Test-first benefits
◉ The code works with proof
◉ Just the code we need
◉ Think before you type
◉ Incremen...
@gil_zilberfeld
From test-first to spec-first
@gil_zilberfeld
Requirements
Learning to read the clock
@gil_zilberfeld
Behavior driven development
Dan North
AKA:
Acceptance test DD
Specification by example
Example DD
@gil_zilberfeld
What is BDD?
BDD is a second-generation, outside-in, pull-based,
multiple-stakeholder, multiple-scale, hig...
@gil_zilberfeld
It’s all about the conversations!
@gil_zilberfeld
The Three Amigos
George Dinwiddie
Developer
Tester
Business analyst
@gil_zilberfeld
Benefits of BDD
◉ Shared understanding
◉ Full workflows
◉ Specific examples
◉ Focus
◉ Regression
@gil_zilberfeld
Let’s make a movie!
@gil_zilberfeld
The Search For More Money
◉ Write a script including a pass/fail criteria
◉ Make the movie
◉ Retrospect
◉ ...
@gil_zilberfeld
darkFunction Studio Editor
Demo
@gil_zilberfeld
A New Hope
◉ Build an origin team movie script
◉ Define who should be there
◉ In what order they join
◉ Wh...
@gil_zilberfeld
Make the Movie!
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
The Empire Strikes Back
◉ The bad guys arrive
◉ They fight!
◉ Make it dramatic!
◉ Script should be testabl...
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
The Director’s Cut
◉ Our top star is dead!
◉ The film is out in a few days!
◉ Rewrite the script but WITHO...
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
The Trailer
◉ We’re getting a DVD with the two movies
◉ Script the trailer
◉ Use existing parts from the m...
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
The Prequel
◉ Everything is set in the present
◉ Write a script for a prequel that makes sense
based on ex...
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
The Force Awakens
◉ Time for a new generation of movies
◉ You can reuse images of the past to build the
fu...
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
Re-shoot
◉ You’re movie’s not good enough
◉ I’ll tell you what to do as we go
◉ Make the movie!
@gil_zilberfeld
Popcorn Time!
@gil_zilberfeld
“Do more Star Wars BDD, you should. Hmmm”
Yoda
Executive producer
@gil_zilberfeld
May the Force be with you!
ANY QUESTIONS?
You can find me at:
@gil_zilberfeld
http://www.GilZilberfeld.com...
Upcoming SlideShare
Loading in …5
×

The Empire Tests First

981 views

Published on

Make your own Star Wars movie, Test First!

Published in: Software
  • Hello! I have searched hard to find a reliable and best research paper writing service and finally i got a good option for my needs as ⇒ www.HelpWriting.net ⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you’re struggling with your assignments like me, check out ⇒ www.WritePaper.info ⇐. My friend sent me a link to to tis site. This awesome company. After I was continuously complaining to my family and friends about the ordeals of student life. They wrote my entire research paper for me, and it turned out brilliantly. I highly recommend this service to anyone in my shoes. ⇒ www.WritePaper.info ⇐.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

The Empire Tests First

  1. 1. @gil_zilberfeld The Empire Tests First Making a Star Wars movie with BDD
  2. 2. @gil_zilberfeld Hello! I AM GIL ZILBERFELD www.gilzilberfeld.com www.everydayunittesting.com @gil_zilberfeld
  3. 3. @gil_zilberfeld First things first ◉ Copy darkFunction Editor ◉ And images from the memory sticks ◉ Or from http://bit.ly/1U7cSji
  4. 4. @gil_zilberfeld Brian Marick’s Testing Quadrants
  5. 5. @gil_zilberfeld Why test first?
  6. 6. @gil_zilberfeld Test-first benefits ◉ The code works with proof ◉ Just the code we need ◉ Think before you type ◉ Incremental development ◉ Regression suite
  7. 7. @gil_zilberfeld From test-first to spec-first
  8. 8. @gil_zilberfeld Requirements Learning to read the clock
  9. 9. @gil_zilberfeld Behavior driven development Dan North AKA: Acceptance test DD Specification by example Example DD
  10. 10. @gil_zilberfeld What is BDD? BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high- automation, agile methodology. It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters.
  11. 11. @gil_zilberfeld It’s all about the conversations!
  12. 12. @gil_zilberfeld The Three Amigos George Dinwiddie Developer Tester Business analyst
  13. 13. @gil_zilberfeld Benefits of BDD ◉ Shared understanding ◉ Full workflows ◉ Specific examples ◉ Focus ◉ Regression
  14. 14. @gil_zilberfeld Let’s make a movie!
  15. 15. @gil_zilberfeld The Search For More Money ◉ Write a script including a pass/fail criteria ◉ Make the movie ◉ Retrospect ◉ Refactor if needed
  16. 16. @gil_zilberfeld darkFunction Studio Editor Demo
  17. 17. @gil_zilberfeld A New Hope ◉ Build an origin team movie script ◉ Define who should be there ◉ In what order they join ◉ Where they are placed ◉ Present it to everyone
  18. 18. @gil_zilberfeld Make the Movie!
  19. 19. @gil_zilberfeld Popcorn Time!
  20. 20. @gil_zilberfeld The Empire Strikes Back ◉ The bad guys arrive ◉ They fight! ◉ Make it dramatic! ◉ Script should be testable for acceptance criteria ◉ …but leaves an artistic license to the director
  21. 21. @gil_zilberfeld Popcorn Time!
  22. 22. @gil_zilberfeld The Director’s Cut ◉ Our top star is dead! ◉ The film is out in a few days! ◉ Rewrite the script but WITHOUT removing the already edited version
  23. 23. @gil_zilberfeld Popcorn Time!
  24. 24. @gil_zilberfeld The Trailer ◉ We’re getting a DVD with the two movies ◉ Script the trailer ◉ Use existing parts from the movies
  25. 25. @gil_zilberfeld Popcorn Time!
  26. 26. @gil_zilberfeld The Prequel ◉ Everything is set in the present ◉ Write a script for a prequel that makes sense based on existing “infrastructure” ◉ Make the movie
  27. 27. @gil_zilberfeld Popcorn Time!
  28. 28. @gil_zilberfeld The Force Awakens ◉ Time for a new generation of movies ◉ You can reuse images of the past to build the future ◉ Make the movie!
  29. 29. @gil_zilberfeld Popcorn Time!
  30. 30. @gil_zilberfeld Re-shoot ◉ You’re movie’s not good enough ◉ I’ll tell you what to do as we go ◉ Make the movie!
  31. 31. @gil_zilberfeld Popcorn Time!
  32. 32. @gil_zilberfeld “Do more Star Wars BDD, you should. Hmmm” Yoda Executive producer
  33. 33. @gil_zilberfeld May the Force be with you! ANY QUESTIONS? You can find me at: @gil_zilberfeld http://www.GilZilberfeld.com http://www.EverydayUnitTesting.com

×