Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[dutch] Behavior Driven Development

[dutch] Behavior Driven Development

Presentation that I gave at "Talk nerdy to me" at CMD students in Leeuwarden.

Peter Berkenbosch

March 16, 2012
Tweet

More Decks by Peter Berkenbosch

Other Decks in Programming

Transcript

  1. Peter Berkenbosch HBO Informatica Hanze Hogeschool Introductie Agile & TDD

    / BDD in 2000 Java, maar Ruby en RubyOnRails als favoriet. Freelance / ZZP Agile webapplication developer Coaching development teams Friday, March 16, 12
  2. Feature : [title] In order to [business value] As a

    [role] I want to [some action] Friday, March 16, 12
  3. Scenario: [title] Given [context] When I do [action] Then I

    should see [outcome] Friday, March 16, 12
  4. Feature: User manages books In order to sell books As

    a user I want to be able to add books to the store Scenario: User adds new book Given I go to the new book page And I fill in "Title" with "De Blauwe Doos" And I fill in "Description" with "De Blauwe Doos bevat 17 boeken geschreven door Internet Marketeer Alex van Ginneken." When I press "Create" Then I should be on the book list page And I should see "De Blauwe Doos" Friday, March 16, 12