Roadmap for PHPSpec2

173 views
Skip to first unread message

Adrian Moya

unread,
Aug 28, 2012, 9:16:22 AM8/28/12
to phpsp...@googlegroups.com
Hi! I'm just starting with the whole BDD thing and I'm very exited about it. I configured Behat for StoryBDD and I'm pretty happy with it. Then I started reading The RSpec Book and I started learning about SpecBDD, and found PHPSpec.

Installing version 1.4.1 under windows didn't work out-of-the-box, I managed to fix the startup script (installed via pear) but I'm still getting errors. I usually use linux but at the office, I must live with windows. The errors are like:

PHPSpec\Specification\Result\Error: list(,$path,) = explode(PHP_EOL, (string)$method);
PHP Notice: Undefined offset: 1

Then I was looking at the repos, and saw PHPSpec2, and noticed that @everzet is contributing to the project, and that both are going to give a talk on the BDD Full Stack for PHP.

My question(s) would be:

- Should I start with PHPSpec2? Is it installable/runnable already?
- Should I wait a bit to the surprise announcement at the talk in sfLive? (I'm not in a hurry, I can wait a bit, I did it with Behat 2.4)
- Is PHPSpec2 internationalizable? I'm pretty happy writing my features in spanish with behat, I'd love to write my specs in spanish with PHPSpec. So I can close the cicle for my spanish speaking team.
- Is there room for collaboration? I'm not a PHP/BDD Guru, but with some guidance I'll be more than happy to contribute with some code/translations.

I'm preparing myself to evangelize on this topic with a talk I'm preparing for the Agile Tour at my country in november.

Luis Cordova

unread,
Aug 28, 2012, 9:28:01 AM8/28/12
to phpsp...@googlegroups.com
Adrian where are you from?

sounds like you are on the right track

phpspec2 is not installable/usable yet

your errors are more the EOL problems with windows i think

you can talk to _md about translating current docu for phpspect 1.4, we were working on some but need helping hands too

if you write anything ping us and let the url be known :D so i can catch up!



--
You received this message because you are subscribed to the Google Groups "PHPSpec - Behavior Driven Design (BDD) for PHP" group.
To view this discussion on the web visit https://groups.google.com/d/msg/phpspec-dev/-/EGC_f9s9YXgJ.
To post to this group, send email to phpsp...@googlegroups.com.
To unsubscribe from this group, send email to phpspec-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phpspec-dev?hl=en.

Adrian Moya

unread,
Aug 28, 2012, 1:47:48 PM8/28/12
to phpsp...@googlegroups.com, cord...@gmail.com
Luis, I'm from Venezuela. I wanted to know the Roadmap for PS2 to know if it was worth the effort on working on the current release or the future release. I'm more inclined to spend the effort on 2, if the project is on good track, as the current release is not stable anyway and the docs are outdated  (I saw there's a composer.json on the current release but the docs doesn't talk about installation using composer). But that's considering that PHPSpec2 it's a considerable upgrade from the current release, and a first version is expected anyday this year. That's why I'd like to know the status of both projects, to see which one I may start using/contributing. 

I try to fix the PHP_EOL errors and see if I can get this version (1.4.1) working to start practicing.

Adrian Moya

unread,
Aug 28, 2012, 1:50:37 PM8/28/12
to phpsp...@googlegroups.com, cord...@gmail.com
I've just noticed there's a pull request to fix the issue from about 3 months ago. Do you know any reason why it wasn't accepted? There are several other PRs from months ago...

Luis Cordova

unread,
Aug 28, 2012, 3:51:13 PM8/28/12
to Adrian Moya, phpsp...@googlegroups.com
AFAIK phpspec2 is totally another approach, don't be deceived by name it is like symfony2, it has nothing to do with previous version.

There is a group in venezuela ml you should be part of. We are meeting on wednesday sometimes and are planning hacking sessions virtual ones. You should join and try some phpspec#. I am not from Venezuela but i had partake of the meetings since its beginnings :D. And I am mainly to promote php dev in Latin America :D

About PRs, it is just business from one of the lead devs or the PR needs more work. I suggest if you take the challenge jump into phpspec2 and try to branch it and get in touch with _md and everzet, although i think they are still pairing for developing that. But that is my opinion. The default one is to just stick to phpspec1.4 for the default person.

Adrian Moya

unread,
Aug 28, 2012, 9:16:27 PM8/28/12
to phpsp...@googlegroups.com, Adrian Moya, cord...@gmail.com
Could you please send me the info of the group? I tried phpspec2 from source at the office and it seems to go very well :) just some weird characters in the output...

Luis Cordova

unread,
Aug 28, 2012, 9:23:11 PM8/28/12
to Adrian Moya, phpsp...@googlegroups.com
would be great to write up a short blog post on how to get started developing phpspec2
here is the info you were asking for
symfony-ven@googlegroups.com
Reply all
Reply to author
Forward
0 new messages