Testing Links
Posted: Wed Jun 15, 2005 7:47 pm
Testing frameworks for php
SimpleTest, docs, and an interesting blog can be found on http://www.lastcraft.com.
PhpUnit: http://www.phpunit.de/en/index.php
Articles
Marcus Baker: test driven design
Introduction to SimpleTest by Perrick Penet: http://www.onpk.net/talks/fosdem2005/introduction_simpletest.html
PhpLondonWiki, including the beer example: Unit Testing
Fowler on integration v state-based testing Mocks aren't Stubs
Other sites
TestDriven http://www.testdriven.com
"Test driven development (TDD) is emerging as one of the most successful developer productivity enhancing techniques to be recently discovered. The three-step: write test, write code, refactor – is a dance many of us are enjoying. This site is dedicated to promoting techniques, tools, and general good will in the test-driven community.
- Eric Vautier, David Vydra
books
php|architect's Guide to PHP Design Patterns by Jason E. Sweat http://www.phparch.com/shop_product.php?itemid=96.
Design patterns often seen in php apps. Most (all?) classes are accompanied by unit tests which should help to give you an idea what tests look like. Also contains an appendix on SimpleTest testing practices.
SimpleTest, docs, and an interesting blog can be found on http://www.lastcraft.com.
PhpUnit: http://www.phpunit.de/en/index.php
Articles
Marcus Baker: test driven design
Introduction to SimpleTest by Perrick Penet: http://www.onpk.net/talks/fosdem2005/introduction_simpletest.html
PhpLondonWiki, including the beer example: Unit Testing
Fowler on integration v state-based testing Mocks aren't Stubs
Other sites
TestDriven http://www.testdriven.com
"Test driven development (TDD) is emerging as one of the most successful developer productivity enhancing techniques to be recently discovered. The three-step: write test, write code, refactor – is a dance many of us are enjoying. This site is dedicated to promoting techniques, tools, and general good will in the test-driven community.
- Eric Vautier, David Vydra
books
php|architect's Guide to PHP Design Patterns by Jason E. Sweat http://www.phparch.com/shop_product.php?itemid=96.
Design patterns often seen in php apps. Most (all?) classes are accompanied by unit tests which should help to give you an idea what tests look like. Also contains an appendix on SimpleTest testing practices.