Module testing; WAS Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture
| From: | Matthew Weier O'Phinney | Date: | Sat, 25 Jun 2005 23:54:11 +0000 |
| Subject: | Module testing; WAS Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217633@lists.php.net to get a copy of this message | ||
* Chris Shiflett <shiflett@php.net> :
> Matthew Weier O'Phinney wrote:
> > The perl culture is one that includes testing and documentation as
> > the norm
>
> You might be interested to know that there is a PHP equivalent for
> Test::More, the CPAN library that prompted the "testing revolution" that
> Perl seems to have undergone in the past five years or so.
>
> It is packaged as a standard part of Apache-Test (which now has support
> for testing PHP applications):
>
> http://search.cpan.org/dist/Apache-Test/
I've seen you mention Apache-Test before, but I didn't realize that it
had integrated PHP testing in it. Looks interesting.
I've actually been using phpt tests for a number of months now, and find
them very well suited for most tasks I throw at them (typically API
testing). However, I could see Apache-Test being useful for full
application testing.
Thanks for pointing this out!
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org