It’s been a longer than expected road to 0.2.0, but I’ve finally gotten around to releasing the first beta of PHPSpec 0.2.0.

PHPSpec is a Behaviour-Driven Development framework designed from the ground up to offer a BDD tool for PHP5. It’s functionality and use is heavily influenced by similar frameworks in Java, Smalltalk, .NET and Ruby. This beta release marks the start of a short review process with the aim of making a general public stable release within the next 7 days.

PHPSpec is currently hosted on the PHPSpec PEAR channel at: pear.phpspec.org. Installation is as simple as:

pear channel-discover pear.phpspec.org
pear install phpspec/PHPSpec-beta

Additional installation options (for those who don’t like PEAR) and instructions are available in the PHPSpec Manual which is currently hosted at http://dev.phpspec.org/manual. I made the effort to keep the manual as informative as possible so it should be relatively easy to get started with PHPSpec, and discovered what Behaviour-Driven Development (BDD) means if you haven’t caught one of my earlier explanatory blog articles on the topic.

This beta omits several items which didn’t make the scheduled cut off point of Sunday evening which I’ll complete for the GA release. The main ones are a PCRE regular expression matcher, improved Equality matcher, and something to predicate expected Exceptions. Besides these three missing bits, the goals originally set for 0.2.0 have been met and in some cases exceeded as time allowed.

PHPSpec has been one of those projects I found a real need for in my own development work so most of the design and functional decisions have tended towards a personal preference. Just a reminded that as a 0.2.0 release the API will remain stable for the life for the 0.x point releases but remains open to improvement based on user feedback and suggestions. We’re also currently investigating adding a HTML UI and optionally running specs in their own unique PHP process. In addition, PHPSpec has led to two other small libraries in progress – namely PHPMock and PHPMutagen. It’s been an interesting open source project to say the least, and I hope it’s well received by the community.

Any questions/comments may be directed to the PHPSpec Mailing List (and Google Group) over on:
http://groups.google.com/group/phpspec-dev.

Related posts:

  1. The PHPSpec 0.2.0devel API
  2. PHPSpec Manual (Work In Progress)
  3. PHPSpec Reporting Gets A Needed Boost
  4. PHPSpec hits Subversion Revision 100
  5. PEAR OpenID support packages released