Writing Awesomely Readable Tests using Behaviour Driven Development

I’m sold on BDD and have mentioned it a few times and now here I go again. I’ve already told you I’m a fan of ridiculously long test names. When asked why I’m a fan of BDD I’m now going to reply that it’s about awesomely readable tests.

So, BDD is just writing tests with a special syntax and describing them in plain jane English. “What’s the big deal, then?” Nothing. There is no big deal.

However, if you’ve a bit of time and an inclination for writing awesomely readable tests (which may ultimately help you write better code), continue.

Developing a Rails model using BDD and RSpec, Part 1

Developing a Rails model using BDD and RSpec, Part 1 is a great step by step guide for using RSpec/BDD for Ruby on Rails development.

Leave a Reply