Re: Unit testing in PHP
| From: | Ken Guest | Date: | Thu, 17 Jun 2010 11:28:37 +0000 |
| Subject: | Re: Unit testing in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306219@lists.php.net to get a copy of this message | ||
On Thu, Jun 17, 2010 at 10:51 AM, <vikash.iitb@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 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/