Beyond TDD: Behaviour-Driven Development
Posted: Sun Sep 23, 2007 4:25 pm
It's oddly counter-productive to post this to a testing category but if the shoe only half fits... 
I am basically looking for some opinions on the theory on Behaviour-Driven Testing (BDD) from the perspective of PHP developers. So I figured here would be a good bet. Folk here have one of the highest rates of TDD adoption I know of in a PHP community.
I posted a quick exploration of the basic theory (omitting several tag-alongs to BDD) on my blog. Please fell free to ask any remote question or criticism you may have below:
http://blog.astrumfutura.com/archives/3 ... lored.html
About a year ago now I started to learn Ruby, and during the course of that encountered the concept of BDD. BDD in Ruby is predominantly done with a library called RSpec. After using RSpec for 10+ months, and being a young library tracking its changing API, I came to quite enjoy it's approach to the core goals of TDD. On returning to PHP (I was Ruby focused up to June) for various work, I found PHP's lack of BDD frameworks hard to accept.
Recently, a tiny group of us (me + 1) have been seriously considering starting up a framework project, so I'm interested in seeing how Devnetwork members would view the concept. The more I see how PHP developers react and think, the more I can effectively put the message across. As a bonus, even if you think the idea lacks value you at least get some 1 on 1 coverage from someone practicing BDD.
I should note that the extraordinary thing I really found odd on linking PHP to BDD, is that there seems to be zero coverage of BDD on any PHP oriented site/forum or mailing list. Is the PHP community really so ignorant of trends in other languages?
Your thoughts are welcome!
I am basically looking for some opinions on the theory on Behaviour-Driven Testing (BDD) from the perspective of PHP developers. So I figured here would be a good bet. Folk here have one of the highest rates of TDD adoption I know of in a PHP community.
I posted a quick exploration of the basic theory (omitting several tag-alongs to BDD) on my blog. Please fell free to ask any remote question or criticism you may have below:
http://blog.astrumfutura.com/archives/3 ... lored.html
About a year ago now I started to learn Ruby, and during the course of that encountered the concept of BDD. BDD in Ruby is predominantly done with a library called RSpec. After using RSpec for 10+ months, and being a young library tracking its changing API, I came to quite enjoy it's approach to the core goals of TDD. On returning to PHP (I was Ruby focused up to June) for various work, I found PHP's lack of BDD frameworks hard to accept.
Recently, a tiny group of us (me + 1) have been seriously considering starting up a framework project, so I'm interested in seeing how Devnetwork members would view the concept. The more I see how PHP developers react and think, the more I can effectively put the message across. As a bonus, even if you think the idea lacks value you at least get some 1 on 1 coverage from someone practicing BDD.
I should note that the extraordinary thing I really found odd on linking PHP to BDD, is that there seems to be zero coverage of BDD on any PHP oriented site/forum or mailing list. Is the PHP community really so ignorant of trends in other languages?
Your thoughts are welcome!