# Behavior Driven Development

**URL:** <https://www.ruby-forum.com/t/behavior-driven-development/58518>\
**Category:** Ruby\
**Created:** [April 22, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/behavior-driven-development/58518 "2006-04-22T15:28:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake\_McArthur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f19dbf/32.png) [@Jake\_McArthur](https://www.ruby-forum.com/u/Jake_McArthur)\
**Post date:** [April 22, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/behavior-driven-development/58518/1 "2006-04-22T15:28:12Z")

</div>

Does/has anybody here practice(d) behavior driven development (as  
opposed to test driven development)? If so, would you like to share  
your experiences? I’ve been looking into it, and I must say that,  
though I haven’t tried it yet, I agree with what all of its advocates  
say.

For those of you who have no idea what I am talking about, take a  
look at RSpec: [http://rspec.rubyforge.org/](http://rspec.rubyforge.org/) The tutorial there is  
especially informative.

- Jake McArthur

---

<div class="post-metadata">

**Author:** ![Jake\_McArthur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f19dbf/32.png) [@Jake\_McArthur](https://www.ruby-forum.com/u/Jake_McArthur)\
**Post date:** [April 26, 2006, 11:34am UTC](https://www.ruby-forum.com/t/behavior-driven-development/58518/2 "2006-04-26T11:34:56Z")

</div>

I am doing BDD, but I am using my own framework to do it, which I  
developed  
in parallel with rSpec. I had a quick look at rSpec and it looks very  
nice,  
but I haven’t tried it yet.

I like to think of ‘tests’ as intentions for the behaviour of a piece of  
code and I try to write them in the more human-readable way I am capable  
of. This often forces the underlying code to be shaped after the way I  
like  
to use it. I find it also to be a very powerful way to write  
DSL-looking  
code.

I guess that the way I do BDD is a kind of “Code Ergonomics” Driven  
Development.

## – Chiaroscuro

Liquid Development: [http://liquiddevelopment.blogspot.com/](http://liquiddevelopment.blogspot.com/)
