BDD’n All Over The Place

I’ve been working on quite a range of different projects recently, not all of which are Ruby/Rails.

One is in PHP and one is a cross platform widget that will work for the Yahoo Widgets engine as well as OS X’s Dashboard.

Of these two projects I’ve managed to work some BDD into both of them. I thought I’d spread the word on the packages I’m using. For javascript I’m using JSSpec and for PHP I’m using PHPSpec

Neither are documented very much, and both are less than 6 months old. They’re limited, but I’ve been able to get what I need out of them and its been nice to be able to keep the same dev style even if I have to deal with JS and PHP.

Here’s a couple pieces of syntax.


h2. JSSpec