Reply to Re: PHP Unit Tests - which framework to use?

Your name:

Reply:


Posted by Matthew Weier O'Phinney on 01/07/05 18:59

* dAniel hAhler <genml@thequod.de>:
> 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@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация