[PHP] Unit testing in PHP

2010-06-17 Thread vikash . iitb
Hi, What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? Thanks, Vikash Kumar -- http://vika.sh

Re: [PHP] Unit testing in PHP

2010-06-17 Thread Ken Guest
On Thu, Jun 17, 2010 at 10:51 AM, vikash.i...@gmail.com 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

Re: [PHP] Unit testing in PHP

2010-06-17 Thread Pavan Keshavamurthy
On Thursday 17 Jun 2010 3:21:18 pm vikash.i...@gmail.com wrote: Hi, What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? I tend to prefer SimpleTest. Mock Objects and the Web UI are IMO, way better than what they are with PHPUnit (the last I saw of it). Besides,

RE: [PHP] Unit testing in PHP

2010-06-17 Thread Bob McConnell
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

Re: [PHP] Unit testing in PHP

2010-06-17 Thread Adam Richardson
From: vikash What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? SimpleTest because of the flexibility. Adam -- Nephtali: PHP web framework that functions beautifully http://nephtaliproject.com

[PHP] Unit Testing

2009-04-27 Thread Philip Thompson
Hi. I did some searching in the archives, but didn't quite find what I was looking for. Maybe a few of you can assist me... We have an application that's currently in production, but we're constantly modifying/upgrading it. We did not do unit testing early on because of the lack of time.

[PHP] Unit testing

2007-07-30 Thread Emil Edeholt
Hi What (preferably open source) tools are the best for unit testing php? JUnit is not available for PHP from what I can see? Thanks for your time! -- Best Regards Emil Edeholt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unit testing

2007-07-30 Thread Thijs Lensselink
On Mon, 30 Jul 2007 13:57:08 +0200, Emil Edeholt [EMAIL PROTECTED] wrote: Hi What (preferably open source) tools are the best for unit testing php? JUnit is not available for PHP from what I can see? Thanks for your time! -- Best Regards Emil Edeholt -- PHP General Mailing List

[PHP] Unit testing ?

2005-06-02 Thread mbneto
Hi, I am trying the phpunit2 for unit testing but the examples found in the documentation are few and do not address, for example, tests when database access is involved. Perhaps this belongs to a more general question (i.e strategies for unit testing) so any urls, docs would be great. -- PHP

[PHP] Unit Testing

2004-06-15 Thread Rick Fletcher
Has anyone done any PHP unit testing? I've been looking around for a unit testing library to try out. Below are the ones I've found so far: SimpleTest: http://www.lastcraft.com/simple_test.php PHPUnit (dead?): http://phpunit.sourceforge.net/ Pear PHPUnit: http://pear.php.net/package/PHPUnit

[PHP] Unit-testing PHP code

2003-02-13 Thread Karl Traunmueller
Hi all, I've written some small Web applications with PHP and I like it. Since I'm accustomed to thinking OO, I was using the object-oriented language features. This worked quite well, giving a reasonably clean design. However, as with all software projects beyond a certain scope, things start