License
Planet PHP
Certified Schizophrenic - zillablog - PHP
Ogres Select Consumption Over Networking (OSCON) - Terry Chay
What MySQL 5 features do I use? - Lukas Smith
Zend Framework 1.6 Release Candidate 1 now available! - planetphp
PHPSecInfo talk at OSCON 2008 - Ed Finkler
Usability FAIL - Brian Moon
Usability FAIL - Brian Moon
Dealing with non-paying client - Michael Kimsal
OSCON 2008: Day One - Ben Ramsey
Quality Assurance in PHP Projects - Sebastian Bergmann
Wednesday, July 23. 2008
Ogres Select Consumption Over Networking (OSCON) - Terry Chay
Tuesday, July 22. 2008
What MySQL 5 features do I use? - Lukas Smith
Tuesday, July 22. 2008
Zend Framework 1.6 Release Candidate 1 now available! - planetphp
Tuesday, July 22. 2008
PHPSecInfo talk at OSCON 2008 - Ed Finkler
Tuesday, July 22. 2008
Usability FAIL - Brian Moon
Tuesday, July 22. 2008
Usability FAIL - Brian Moon
Tuesday, July 22. 2008
Dealing with non-paying client - Michael Kimsal
Tuesday, July 22. 2008
OSCON 2008: Day One - Ben Ramsey
Monday, July 21. 2008
Quality Assurance in PHP Projects - Sebastian Bergmann
Monday, July 21. 2008
Statistics
Last entry: 18.07.2008 17:27
368 entries written
1136 comments have been made
Calendar
Quicksearch
Comments
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Tue, 22.07.2008 13:55
I'll never deny an influence f rom rspec
- only the accusa
tion that I'm motivated to re-
implement Ruby because i [...]
Tue, 22.07.2008 13:55
I'll never deny an influence f rom rspec
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Tue, 22.07.2008 10:11
Looking at your example, the f irst thing that comes to my mi nd is RSpec: [geshi lang=ru by] # bowling_spec.rb [...]
Tue, 22.07.2008 10:11
Looking at your example, the f irst thing that comes to my mi nd is RSpec: [geshi lang=ru by] # bowling_spec.rb [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Mon, 21.07.2008 11:15
The only change you made thoug h was to use a lamdba - it sti ll suffers from the same probl ems of being verbose, no [...]
Mon, 21.07.2008 11:15
The only change you made thoug h was to use a lamdba - it sti ll suffers from the same probl ems of being verbose, no [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Sun, 20.07.2008 10:56
I'm not convinced if a DSL is the way to go. What about a re ally base class for BDD storie s. [geshi lang=php] [...]
Sun, 20.07.2008 10:56
I'm not convinced if a DSL is the way to go. What about a re ally base class for BDD storie s. [geshi lang=php] [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Sat, 19.07.2008 00:21
Final clarification - the exte rnal DSL is not based on any e xisting language. Man, I will never mention Ruby in a [...]
Sat, 19.07.2008 00:21
Final clarification - the exte rnal DSL is not based on any e xisting language. Man, I will never mention Ruby in a [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 23:50
If your going to change langua ge. Go for Python, I find it f ar superior to Ruby. By the way, I don't think decr [...]
Fri, 18.07.2008 23:50
If your going to change langua ge. Go for Python, I find it f ar superior to Ruby. By the way, I don't think decr [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 20:44
And I misread you
. Sorry.
The DSL is for BDD which pla
ces an emphasis on intuitive p
rediction - "equals" is [...]
Fri, 18.07.2008 20:44
And I misread you
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 20:17
PHP and Ruby are both general programming languages. The Zen d Framework and Ruby On Rails are both frameworks. I c [...]
Fri, 18.07.2008 20:17
PHP and Ruby are both general programming languages. The Zen d Framework and Ruby On Rails are both frameworks. I c [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 20:04
Hi Vincent - == is the PHP equ ality comparison, just as === is for making an identical che ck. Plain old = is just [...]
Fri, 18.07.2008 20:04
Hi Vincent - == is the PHP equ ality comparison, just as === is for making an identical che ck. Plain old = is just [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 19:10
Never been one to argue with y ou but you've just gone and co mpared PHP to Ruby which is a very load no no... Th [...]
Fri, 18.07.2008 19:10
Never been one to argue with y ou but you've just gone and co mpared PHP to Ruby which is a very load no no... Th [...]
about A Domain Specific Language for Behaviour Driven Development (BDD) in PHP
Fri, 18.07.2008 18:58
Hmm, why are you using "==" in stead of "equal"?
Fri, 18.07.2008 18:58
Hmm, why are you using "==" in stead of "equal"?
about Google roll out OAuth Authorisation to all Google Data APIs
Wed, 16.07.2008 01:00
Crazy release time hasn't let me check it out again - but th anks for addressing those conc erns. It looks like tha [...]
Wed, 16.07.2008 01:00
Crazy release time hasn't let me check it out again - but th anks for addressing those conc erns. It looks like tha [...]
about Google roll out OAuth Authorisation to all Google Data APIs
Tue, 01.07.2008 12:15
Hi Justin, Zend_Crypt_Hmac is available from the ZF Incub ator repository as it is not y et within Core. It does [...]
Tue, 01.07.2008 12:15
Hi Justin, Zend_Crypt_Hmac is available from the ZF Incub ator repository as it is not y et within Core. It does [...]
about Google roll out OAuth Authorisation to all Google Data APIs
Tue, 01.07.2008 01:41
Hey, I'm trying to test out ba sed on the code you linked - b ut it looks like the Zend_Cryp t_Hmac package is not av [...]
Tue, 01.07.2008 01:41
Hey, I'm trying to test out ba sed on the code you linked - b ut it looks like the Zend_Cryp t_Hmac package is not av [...]
about MIA from Planet PHP
Wed, 25.06.2008 17:21
Yes, I noticed. I haven't re-s ubmitted a request yet though. So they are still aggregating the posts I was refused [...]
Wed, 25.06.2008 17:21
Yes, I noticed. I haven't re-s ubmitted a request yet though. So they are still aggregating the posts I was refused [...]
Categories
Top Referrers
Show tagged entries
application security
astrum futura
bdd
behavior-driven development
behaviour-driven development
design patterns
devnetwork
eve online
games
htmlpurifier
irish php user group
irishisms
maugrim
microformat
mock objects
mvc
oauth
openid
openid and yadis
pc gaming
pear
phing
php
php game development
php games
php general
php security
phpmock
phpspec
phpunit
qgl
quantum game library
quantum star se
rantings
simpletest
solar empire
tdd
tutorial
unit testing
xp programming
xrd
xrds
xri
yadis
yaml
zend framework
zf proposalPHPSpec Reporting Gets A Needed Boost
Trackbacks
Pádraic Brady's Blog: PHPSpec Reporting Gets A Needed Boost
Pádraic Brady has made a few updates to the PHPSpec software ...
Pádraic Brady has made a few updates to the PHPSpec software ...
Weblog: PHPDeveloper.org
Tracked: Nov 14, 16:07
Tracked: Nov 14, 16:07


Wednesday, November 14. 2007 at 22:33 (Reply)
I looked through the docs, but I don't see how to run the specs with a the Runner rather than from the command line. I recall you saying that you were going to make it so you could just point it at a directory and it would run everything.
Christopher
PS - I may have a project to run PHPSpec throught its paces
Wednesday, November 14. 2007 at 23:24 (Link) (Reply)
I haven't gotten around to adding a file runner just yet. If you check the test coverage, the specific area of running tests is largely uncovered (it wasn't a major concern until the framework became useful). I'll likely refactor/rewrite the running system during tomorrow so you can have a file based runner (http) and command line runner (cli) which both share possible Reporters (current only plain text).
I think after that it's down to adding a few more matchers, and looking into better Exception expectations via the DSL, and it's ready for final review to an alpha or beta release of 0.2.0.
Any observations from a real project are immensely valuable - I started using it over the weekend for PHPMock (need Mock support in PHPSpec, in an independent form since it will likely be usable from PHPT and PHPUnit at a minimum). Any development since the weekend is now needs based - get any final badly needed functionality defined and implemented outside the usual XP process we're using.
Thursday, November 15. 2007 at 21:42 (Reply)
I am in the process of trying to resurrect a PHP5 version of the Skeleton framework. Given the disenchantment with Zend and other frameworks I figured I would bring back that code, which I had abandoned. The plan is lighter weight than the current frameworks and compatible so it is designed to use external components (e.g. Swift, Doctrine, Zend, etc.).
The frame had light SimpleTest coverage, but in the upgrade I tossed out a lot of the tests rather than try to upgrade. Which leaves me open to new ideas, but I do need a runner.
Also, have you given any thought to either a test scaffolding builder or something that would automate creating tests for existing classes? Could I help the project in any of these areas -- scaffolding, automation, runners?
Christopher
Sunday, November 18. 2007 at 01:49 (Link) (Reply)
>I am in the process of trying to resurrect a PHP5 version of the
>Skeleton framework. Given the disenchantment with Zend and other
>frameworks I figured I would bring back that code, which I had
>abandoned. The plan is lighter weight than the current
>frameworks and compatible so it is designed to use external
>components (e.g. Swift, Doctrine, Zend, etc.).
I noticed an upsurge in ap3 posts to my SF lists folder
>The frame had light SimpleTest coverage, but in the upgrade I tossed out a
>lot of the tests rather than try to upgrade. Which leaves me open to new
>ideas, but I do need a runner.
As previously, it's upcoming. PHPSpec has a long list of goals and user stories with assigned weightings - the wall in front of me only has 7 post-its on PHPSpec so it's just a few days from implementation.
>Also, have you given any thought to either a test scaffolding builder or
>something that would automate creating tests for existing classes? Could I
>help the project in any of these areas -- scaffolding, automation,
>runners?
Scaffolding is something I want soon - but it bears discussion on what to implement for scaffolding. For example, I use post-its here to record user stories, which lead to plain text specifications stored in a local DB. So I need scaffolding to take in newline delimited output of specs in an agreed format, and generate base Specs which are all marked pending. On the otherside, having a class based scaffolder is likewise useful - a bit limited in that BDD is spec related, over method related.
If you want to contribute along these lines, even just what you need personally, you should post the proposal to the main mailing list so Travis has a chance to offer any comments. 0.2.0 will likely see an alpha release by end of November so there is room for some needs-based contributions to give PHPSpec a nice round sense of purpose for those considering using it.
http://groups.google.com/group/phpspec-dev
Note, any help is truly appreciated
Monday, November 19. 2007 at 16:07 (Reply)
Also, something that would create specs from existing classes just for coverage. I know it is backwards from you BDD intent, but again it would be a draw to get existing projects to use the tool.
Let me know ... feel free to email me directly.