prdc10-Bdd-real-world

  • 322 views
Uploaded on

 

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
322
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
5
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. AMIR BARYLKO REAL WORLD BDD DEVELOPMENT PRAIRIE DEV CON REGINA 2010Amir Barylko - Real World BDD MavenThought Inc.
  • 2. WHO AM I? • Architect • Developer • Mentor • Great cook • The one who’s entertaining you for the next hour!Amir Barylko - Real World BDD MavenThought Inc.
  • 3. BDD INTROAmir Barylko - TDD Patterns MavenThought Inc.
  • 4. WHY TRADITIONAL PROJECTS FAIL? • Delivering late or over budget • Delivering the wrong thing • Unstable in production • Costly to maintainAmir Barylko - Real World BDD MavenThought Inc.
  • 5. BDD PRINCIPLES • Behaviour Driven development is about implementing an application by describing its behaviour from the perspective of the stakeholder • Enough is Enough • Deliver stakeholder value • It’s all behaviourAmir Barylko - Real World BDD MavenThought Inc.
  • 6. OUTSIDE IN APPROACHAmir Barylko - Real World BDD MavenThought Inc.
  • 7. GHERKIN DSL • Business readable DSL • Flush out requirements • Documentation • Automated testing • Used by Cucumber, SpecFlow, jBehaveAmir Barylko - Real World BDD MavenThought Inc.
  • 8. BDD DEMOAmir Barylko - TDD Patterns MavenThought Inc.
  • 9. ADD MOVIE FEATURE • Feature: Addition • In order to make my library grow • As a registered user • I want to add movies to the library • Scenario: Add a movie • Given Im on the home page • When I follow Add Media • And I enter Young Frankestein in the title • And I click Submit • Then I should see Young Frankestein in the listingAmir Barylko - Real World BDD MavenThought Inc.
  • 10. QUESTIONS?Amir Barylko - TDD Patterns MavenThought Inc.
  • 11. RESOURCES • Contact me: amir@barylko.com, @abarylko • Download: http://www.orthocoders.com/prairiedevcon • Books: The rSpec bookAmir Barylko - Real World BDD MavenThought Inc.
  • 12. RESOURCES II • SpecFLow: http://www.specflow.org • Gallio & MbUnit: http://www.gallio.org • MavenThought Testing: http://maventcommons.codeplex.com • Rhino Mocks: http://www.ayende.com • Watin: http://watin.sourceforge.net • ASP .NET MVC: http://www.asp.net/mvcAmir Barylko - Real World BDD MavenThought Inc.
  • 13. RESOURCES III • NUnit: http://www.nunit.org • SharpTestEx: http://sharptestex.codeplex.com • NHaml: http://code.google.com/p/nhaml • Binsor: http://ayende.com/Blog/archive/2007/10/25/ Binsor-2.0.aspxAmir Barylko - Real World BDD MavenThought Inc.