Re: PHP Unit Tests - which framework to use?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* dAniel hAhler <genml@xxxxxxxxxx>:
> I'm looking for a PHP Unit Test framework and found so far:
>  SimpleTest: https://sourceforge.net/projects/simpletest/
>  PEAR PHPUnit:
>   - http://pear.php.net/package/PHPUnit
>   - http://pear.php.net/package/PHPUnit2
>  Sourceforge PHPUnit: http://phpunit.sourceforge.net/
>
> While SF PHPUnit seems to have stalled (2002-10) there are still PEAR
> PHPUnit and Simpletest.
>
> I'd like to hear your opinions/experiences on what's better to use.
>
> I'm mainly searching it for an OSS project, but would like to use it at
> work, too.
>
> I'm still on PHP4 mainly - but tests could be done/run with PHP5 of
> course (if PHPUnit2 supports that).

I've used both PEAR::PHPUnit and SimpleTest. I like SimpleTest better...
mainly because it's documented so well. I was up and running with
SimpleTest in a matter of an hour, whereas I'd struggled for the better
part of a day trying to figure out from the docs how to use PHPUnit --
and only managed a portion of what I accomplished with SimpleTest in
that hour.  

'Course, the PHPUnit docs may have been improved since I last tried it
-- YMMV.

-- 
Matthew Weier O'Phinney           | mailto:matthew@xxxxxxxxxx
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux