Behavior Driven Development

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + clintedmonson Clint Edmonson 10 months ago
    Great deck! I’m so sorry I missed the KC Day of .NET event. Won’t happen next time.
Post a comment
Embed Video
Edit your comment Cancel

2 Favorites

Behavior Driven Development - Presentation Transcript

  1. Behavior Driven Development Getting Started With
  2. Lee Brandt Sexy Gorilla 10 Yrs Programming Early .NET Betas TDD / BDD Enthusiast Movie Quote Guru Examinetics Solutions Architect Currently: [email_address] www.codebucket.org Twitter: leebrandt DISCLAIMER: My opinions are mine, not my employer’s , not Geeks with Blogs’. Blame me.
  3. Don’t we already have TEST Driven Development?
  4.  
  5. TDD’s Intent
  6. What actually happened.
  7. Test Fixture Class
  8. TDD Comes Up Short not the intent the language misleads not about testing
  9.  
  10. BDD is NOT something new
  11. BDD is a shift in TDD language that helps guide you to do TDD the way it was meant to be done.
  12. TDD DDD BDD
  13. UBIQUITOUS LANGUAGE
  14. Scrum, Kanban & XP OH MY!
    • User Stories
    • Role – Goal – Motivation
    • As a [Role] I need to [Goal] so that [Motivation]
    • As an Account Holder I need to be able to withdraw funds so that I have cash.
    • Scenarios
    • Context – Action – Observation
    • Given [Context] When [Action] Then [Observation]
    • Given the account is in credit for the amount requested when a withdrawal is made the system should debit my account, the system should dispense the cash, and the system should return the card.
    • LANGUAGE
    • All about expressing the user’s needs and
    • what it means to the user to have those needs filled.
  15. Test File Test Fixture Fixture Setup / Test Setup Test Specification Concern Context Observation
  16. DEMO
  17. User Interface Integration Web Interface User Interface Layer Presentation Layer Domain Objects Services Persistence Windows Interface Data Access Layer Service Layer
  18. Specifications
  19. DEMO
    • SpecUnit.Net
      • Scott Bellware
    • Nbehave
      • JBehave
      • Google Code
    • NSpec
      • Tim Haughton
    • Nspecify
      • Maruis Marais
    • MSpec
      • Part of MultiFunctionMachineMachine
      • Aaron Jensen & Jacob Lewallen
    Frameworks
  20. People
    • Dan North
    • Liz Keogh
    • Dave Astels
    • Scott Bellware
    • Aaron Jensen
    • Jacob Lewallen
    • Tim Haughton
  21.  
  22. WWW.CODEBUCKET.ORG
    • Lee Brandt
    • Email: leebrandt@gmail.com
    • Twitter: leebrandt
    Thank You References:
    • Papers
    • http://behaviour-driven.org
    • http://dannorth.net/introducing-bdd/
    • Videos
    • http://domaindrivendesign.org/events/oopsla2007/dan_north/
    • http://video.google.com/videoplay?docid=8135690990081075324
    • Blogs
    • http://techblog.daveastels.com/
    • http://lizkeogh.com/
    • http://dannorth.net/

+ Lee BrandtLee Brandt, 11 months ago

custom

786 views, 2 favs, 0 embeds more stats

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 786
    • 786 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 2
  • Downloads 29
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Tags