"birim testi" mantığını anlamak ve php ile uygulamasını görmek için bir makale: http://www.muratcileli.com/php-de-birim-testi-unit-testing.html