Back in February, I told you about Behaviour Driven Development using RSpec. Things have moved in very interesting directions since then.
First, and this is probably the most important, BDD is getting quite some attention, most notably at Canada on Rails. You should check out the Ruby on Rails podcast episode from the 17th of April, where Dave Astels makes an appearance alongside Tim Bray.
On the usage front, RSpec’s DSL has seen some tremendous progress. It reads like plain English. I have not decided yet whether I find it too wordy or simply astonishing! What do you think of this example.
Finally, RSpec now has a good-looking content-packed website complete with documentation, tutorial, examples and all.
There is simply no barrier to its adoption, it just needs traction within the development community. This is where you and me come into the picture. Let’s make RSpec a success, let’s all give it a go:
gem install rspec.
You will be amazed at how much RSpec will impact the quality of your code because it changes your perspective on unit testing.
Comments are welcomed and encouraged! That’s all folks, see you next time!