Groningen rb #2 bdd
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Groningen rb #2 bdd

on

  • 1,314 views

Talk that I gave at groningen rb #2 11-10-2010.

Talk that I gave at groningen rb #2 11-10-2010.

http://www.groningen-rb.org

Statistics

Views

Total Views
1,314
Views on SlideShare
1,221
Embed Views
93

Actions

Likes
0
Downloads
19
Comments
0

2 Embeds 93

http://peterberkenbosch.nl 88
http://www.linkedin.com 5

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Groningen rb #2 bdd Presentation Transcript

  • 1. BDD Outside in development with Cucumber ( and capybara and rspec...) Peter Berkenbosch 11 oktober 2010 Groningen rb #2
  • 2. Outside in user view controller model
  • 3. Outside in user view Cucumber controller rspec model
  • 4. Cucumber - functionaliteit die je zou willen hebben
  • 5. Rspec - de componenten en interfaces die je zou willen hebben.
  • 6. Cucumber feature
  • 7. Failing - bubble down rspec
  • 8. failing rspec - make it green!
  • 9. rspec passing -> green
  • 10. rspec passing -> green
  • 11. Feature passed -> green
  • 12. even een stap terug..
  • 13. Waarom cucumber?
  • 14. Standaard tekst -> uitvoerbare ruby stappen.
  • 15. Given a book exists with name “MyBook”
  • 16. book_steps.rb
  • 17. Factory_girl
  • 18. Capybara / Webrat
  • 19. visit root_path click “commit” Fill in “Field” with “Values”
  • 20. User Stories / Use Cases
  • 21. Feature : [title] In order to [business value] As a [role] I want to [some action]
  • 22. Scenario: [title] Given [context] When I do [action] Then I should see [outcome]
  • 23. ROI Cucumber
  • 24. ROI Cucumber Communicatiemiddel (feature)
  • 25. ROI Cucumber Communicatiemiddel (feature) Acceptatie criteria (scenarios)
  • 26. ROI Cucumber Communicatiemiddel (feature) Acceptatie criteria (scenarios) Ontwerp
  • 27. ROI Cucumber Communicatiemiddel (feature) Acceptatie criteria (scenarios) Ontwerp Documentatie
  • 28. ROI Cucumber Communicatiemiddel (feature) Acceptatie criteria (scenarios) Ontwerp Documentatie Functionele test
  • 29. ROI Cucumber Communicatiemiddel (feature) Acceptatie criteria (scenarios) Ontwerp Documentatie Functionele test Integratie test
  • 30. Feature in vertellende vorm.
  • 31. Live Demo