The document summarizes a presentation by Amir Barylko on using behavior driven development with ASP.NET MVC. It introduces BDD and its principles of implementing applications by describing behavior from a stakeholder perspective. It also discusses how traditional projects fail, the outside-in approach of BDD, and using Gherkin DSL to flush out requirements, documentation and automated testing. The presentation includes a BDD demo and lists resources for BDD tools.
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
mvcconf-bdd-quality-driven
1. AMIR BARYLKO
QUALITY DRIVEN
ASP .NET MVC USING
BEHAVIOUR DRIVEN
DEVELOPMENT
MVCCONF
JULY 2010
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
2. WHO AM I?
• Architect
• Developer
• Mentor
• Great cook
• The one who’s entertaining you for the next hour!
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
4. WHY TRADITIONAL
PROJECTS FAIL?
• Delivering late or over budget
• Delivering the wrong thing
• Unstable in production
• Costly to maintain
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
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 behaviour
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
7. GHERKIN DSL
• Business readable DSL
• Flush out requirements
• Documentation
• Automated testing
• Used by Cucumber,
SpecFlow, jBehave
Amir Barylko - Real World BDD MavenThought Inc.
Thursday, July 22, 2010
10. RESOURCES
• Contact me: amir@barylko.com, @abarylko
• Download: http://www.orthocoders.com/presentations
• Books: The rSpec book
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
11. 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/mvc
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010
12. 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.aspx
Amir Barylko - BDD MavenThought Inc.
Thursday, July 22, 2010