Groningen rb #2 bdd

  • 1,035 views
Uploaded on

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,035
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
20
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide































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