RE: [PHP] Unit testing in PHP

From: Date: Thu, 17 Jun 2010 13:40:54 +0000
Subject: RE: [PHP] Unit testing in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-306233@lists.php.net to get a copy of this message
From: vikash > What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? I use Mike Lively's "PHP TAP Test Harness" with test-more.php from the "Apache Test Harness." This requires a CLI interpreter be installed. I was already familiar with the equivalent packages in Perl, and this is mostly a port of them into PHP. In addition to that, I have written my own db_dummy.php to emulate the PostgreSQL library in PHP. I have no class, so the OOP test modules are of no use to me. After 40 years of procedural programming, I simply cannot see anything as objects. Bob McConnell

« previous php.general (#306233) next »