altnetpedia
Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Login/Logout
Language Selection
Your Profile
Create Account
Contact Us
Suggestions
Quick Search
Advanced Search »
Activities
ALT.NET Events
What's Going On?
Statistics
Statistics
Test the Wiki
Play in the Sandbox
Get help
Help Pages
Discuss
ScrewTurn Forum
Learn more
ScrewTurn Blog
This wiki is licensed under a
Creative Commons Licence
.
Back
History
Behavior Driven Development
{toc} ==Introduction== Behaviour-Driven Development (BDD) is an evolution in the thinking behind [TestDrivenDevelopment]. It brings together ideas from [TestDrivenDevelopment] and [DomainDrivenDesign] into an integrated whole, making the relationship between these two powerful approaches to software development more evident. ===Resources=== [http://behaviour-driven.org/]{BR} Main site behind BDD with introduction, examples, and links. ===Blog Posts=== [http://codebetter.com/blogs/jean-paul_boodhoo/archive/2007/11/29/getting-started-with-bdd-style-context-specification-base-na.aspx|Getting started with BDD style Context/Specification base naming (Jean-Paul S. Boodhoo)]{BR} Tips on using a natural sentence style test naming approach. [http://codebetter.com/blogs/jean-paul_boodhoo/archive/2007/12/19/bdd-specification-base-class.aspx|BDD Specification Base Class (Jean-Paul S. Boodhoo)]{BR} A base class in C# you can use to start writing your own BDD style specification code. This is the same class you can find in [http://code.google.com/p/jpboodhoo|JP's Google codebase] and similar in style and content to what others are creating. [http://codebetter.com/blogs/david_laribee/archive/2007/12/17/approaching-bdd.aspx|Approaching BDD (David Laribee)]{BR} David walks through an example of using BDD in a test naming strategy and style in order to explain the motivations behind the major elements of a codebase he's working on for a front controller for windows forms. ===Screen Casts=== [http://screencast.lostechies.com/screencasts/agilejoe/bdd_macro_fun/Joe_Ocampo_BDD_Macro_Fun.html|BDD Macro and Template Usage (Joe Ocampo)]{BR} Joe Ocampo builds on JP's initial BDD macro in concert with some ReSharper templates to show just how to take advantage of BDD. [http://specter.sourceforge.net/video/video.html|Intro to Specter]{BR} Andrew Davey demonstrates Specter, a BDD Framework for .NET ===Tools=== [http://nspec.tigris.org/|NSpec]{BR} A Behaviour Specification Framework for .NET. [http://www.codeplex.com/storyq/|StoryQ]{BR} A C# 3.5 framework for Behaviour-Driven Development (BDD). Similar to nBehave, but overall simplier. It is made to work within NUnit and MSUnit test runner lifecycles to make integration easier. Stories can be created either in plain text and then passively generated as C# (using to WPF application) or are directly entered in tests. Output is either to console or to html files. We include these html files on the build server for visibility beyond the developers. Each story's output is either pending, passed or failed - just as you would expect from NUnit. [http://rspec.info/index.html|RSpec]{BR} A Behaviour Specification Framework for Ruby. <sub>{rating}</sub>
ScrewTurn Wiki
version 2.0.36. Some of the icons created by
FamFamFam
.