Behavior Driven Development

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/ The tutorial there is
especially informative.

  • Jake McArthur

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/