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

Groningen rb #2 bdd

on

  • 1,289 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,289
Views on SlideShare
1,196
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 Groningen rb #2 bdd Presentation Transcript

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