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





Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 0 (more)