 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
CodeUtopia Blog: Database helper for PHPUnit
by Chris Cornutt August 28, 2008 @ 10:22:12
On the CodeUtopia blog there's a recent post with info on creating a custom event listener in PHPUnit that can help keep you database data completely clean.
When testing code which uses the database, you would usually want to make sure the database stays pristine for each test - All tables should be empty, as any extra data could interfere with the tests. You could probably write an extended Testcase class which automatically does this before each test in setUp and afterwards in tearDown, but it may have some issues. [...] Luckily, PHPUnit has a way to add event listener that react to certain events.
It uses the TestListener interface to make the event handler that (with the help of Doctrine) starts up, makes the tables with data and wipes them out at the end.
Code for the sample listener is in the post and included is the method for checking to see if you even need to use the database or not.
voice your opinion now!
database phpunit event listener database testlistener
Symfony Blog: symfony Events
by Chris Cornutt August 25, 2008 @ 15:06:09
The Symfony blog has pointed out some of the interesting events that'll be coming up in their community including conferences, training and symfony camp.
The end of the year will be very interesting for the symfony project with a lot of opportunities to meet the community and to learn symfony.
Conference that symfony will have a presence at include this talk happening in Spetember and this talk at the International PHP Conference. Sensio Labs will be providing training classes on both symfony 1.0 and symfony 1.1 to those interested.
symfony Camp will also be happening in September. If you plan to attend, be sure to reserve your space now!
voice your opinion now!
symfony framework event training conference camp
Christopher Jones' Blog: Free Experience Oracle, PHP & Ruby/Rails at Oracle HQ
by Chris Cornutt August 15, 2008 @ 10:24:51
Christopher Jones points out a free event that Oracle is having at its Headquarters (in Redwood Shores, CA) - "Experience Oracle, PHP & Ruby/Rails".
Oracle is running a free workshop at its Headquarters on August 25th. This is a call for developers interested in developing applications in PHP, Ruby/Rails, Java, .Net or even wanting to use Oracle's free SQL Developer tool or learn web development with Oracle's APEX product.
They'll be providing lunch and the information, you just show up and soak it all in. You can find more information about the event here (and register to reserve your spot).
voice your opinion now!
event oracle rubyonrails headquarters hq register
Community News: Kickoff of the month of TestFest
by Chris Cornutt May 01, 2008 @ 12:46:47
Now that we're in to May, there's only one thing on a PHPer's mind (well some of them out there) - testing! This month several groups all around the world have set times for their own TestFests to dedicated time to writing up tests for PHP.
The TestFest is an event that aims at improving the code coverage of the test suite for the PHP language itself. As part of this event, local User Groups (UG) are invited to join the TestFest. [...] All it takes is someone to organize a UG to spearhead the event and to get others involved in writing phpt tests.
Several groups have set up their times (here's the list) including teh Atlanta PHP group's happening today and the Cologne/Bonn user group's happening tomorrow. If you want to get in on the action and haven't found a group, check out the list and see if there's one nearby and join up before the event starts!
Sebastian Bergmann has posted a checklist as a reminder of things to bring with you to your local event.
voice your opinion now!
testfest2008 month may usergroup event
PEAR Blog: First PEAR bug triage over!
by Chris Cornutt April 03, 2008 @ 10:26:34
According to this post on the PEAR blog, the first PEAR bug triage is now over:
PEAR's bug tracker hit the 600+ open bugs mark a month ago. [...] So with 600+ open bugs (not including the feature requests), we had to do something. [...] The logical step was to hold our own bug smashing event and see how it works for PEAR.
Back on March 22nd and 23rd (Easter weekend) they hunted for bugs. Several developers showed to help out and many bugs were fixed and they managed to bring the number of open bugs for PEAR down to 547 with the two days of work. There were some milestones reached too:
Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).
voice your opinion now!
pear bug triage close problem issue feature event
|
Community Events
Don't see your event here? Let us know!
|