Groningen rb #2 bdd

1,259 views

Published on

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

http://www.groningen-rb.org

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,259
On SlideShare
0
From Embeds
0
Number of Embeds
101
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide































  • Groningen rb #2 bdd

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

    ×