PHPSpec Status July 2008
By now people would have to be living under a rock not to notice I've
been absent for quite a while from working on PHPSpec. Unfortunately
around February things went a bit wrong with the passing away of a
close friend and the move to a new career for at least a year. With
everything that was happening I pulled out of a lot of online
activities and PHPSpec was no exception.
However, I have been getting back into the rythm of regular
contributions in the open source scene. I spent a while warming up by
working on the Zend Framework, and making the return to my normal
regular blogging. Now that I'm back in business, I'm starting to
revisit PHPSpec and look at where to pick up since February.
My current plan is to round up all bugs and patches to date and roll
out at least one more 0.2.x release for maintenance purposes. I know a
few Matchers are causing problems and I never got around to
synchronising examples in the documentation with the existing source
code.
If you have feature requests for new round of 0.3 releases, now is
your best opportunity to make them known! I'll be forging into that
arena soon.
On the lookout for future enhancements, my sights have turned to the
upcoming PHP 5.3. If you don't follow the internals mailing list
regularly, it was announced recently that PHP 5.3 would include not
only namespaces, but also lambdas and closures (
http://wiki.php.net/rfc#accepted
/
http://wiki.php.net/rfc/closures ). I'm tentatively scheduling PHP
5.3 support for PHPSpec 0.5 (PHP 5.3 has a tentative release schedule
for September/October 2008). This means a 0.3 and 0.4 series of
PHPSpec releases may be the only ones available to PHP 5.2 users.
While this may be inconvenient, PHPSpec is still a very young library
and I don't want to dig myself too deep into backwards compatibility
issues. But your comments are really welcome here. If support for
contrinued PHP 5.2 development for a while longer is popular I will do
just that.
The other problem I'll be focusing on is binding one major element
into PHPSpec, and that is the support for an independent Mock Objects
library - development on PHPMock ceased around the same time as
PHPSpec but I will boot it back up. If anyone want's a review of where
PHPMock might be heading in terms of an API don't hesitate to request
one!
That's really all from me for now. You can expect to see actual
movement in a week or two after I do some catchup on the current
source code and plan forward.
Best regards,
Paddy