Slideshare.net (beta)

 
Post to TwitterPost to Twitter
Post: 
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons

All comments

Add a comment on Slide 1

If you have a SlideShare account, login to comment; else you can comment as a guest


Showing 1-50 of 0 (more)

PHP TestFest - Cologne

From sebastian_bergmann, 5 months ago

1442 views  |  0 comments  |  0 favorites  |  41 downloads  |  14 embeds (Stats)
 

Categories

Add Category
 
 
 
 

Groups / Events

 

 
Embed
options

More Info

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License
This slideshow is Public
Total Views: 1442
on Slideshare: 1087
from embeds: 355

Slideshow transcript

Slide 1:Welcome to TestFest! Cologne – May 2nd 2008

Slide 2:Welcome to TestFest! If this is your first fest, you have to test! What is this about? – Event that aims at improving the code coverage of the PHP interpreter itself by writing tests. – The point is that people, such as a user group, network to learn together. – Great opportunity to contribute back to the PHP project.

Slide 3:PHPT Tests ● Single test in a single .phpt file ● Each test is run in a separate PHP process – Complete test isolation – PHP configuration can be changed per test – Test Suite survives fatal errors, segfaults, ... ● Original implementation: run-tests.php ● PEAR_RunTest – Used by PHPUnit_Extensions_PhptTestCase ● PHPT (http://phpt.info/)

Slide 4:Writing PHPT Tests Naming Conventions ● Tests for bugs – bug