On Thu, Jun 17, 2010 at 10:51 AM, <vikash.iitb@xxxxxxxxx> wrote: > Hi, > > What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? > > Ages ago, when it was new and shiny I did use SimpleTest. Now I mostly use phpunit - though where necessary (for example if I'm patching a PEAR package that uses them) I use phpt tests ( http://qa.php.net/write-test.php ). If you're starting out on something [new] that doesn't yet have unit tests, I'd suggest phpunit. hth Ken -- http://blogs.linux.ie/kenguest/