Behaviour Driven Development

Recently there has been quite a bit of fuss about Behaviour Driven Development. So, what is it all about? You should have a look at that presentation from Dave Astels, it is quite interesting:

Presentation: “Beyond Test Driven Development: Behaviour Driven Development”

You can also view and download the video here.



What this is about?

In short, Behaviour Driven Development can be summarized into just one sentence:

Behaviour Driven Development is exactly what you are doing if you do Test Driven Development right.

That’s it? Yep, that’s it. Test driven Development is truely excellent in theory, but in practice it takes a long time to master. The people behind Behaviour Driven Development argue that this is due to bad naming. Language strongly influences how you think, and when you develop test-driven, you constantly talk about “tests”, “units”, “asserts” etc. If you are unexperienced this puts you in a wrong mindstate, because TDD it is not so much about testing. Here is why:

What now?

Behaviour Driven Development is a very recent invention, and work around this has just started. I expect that after rSpec we will soon see jSpec, pSpec, and lots of other tools. I hope this will change peoples mindset and allows us to grok how software engineering should work more thoroughly.

Leave a Reply