[UPHPU] PHPunit

Ray Hunter bigdog at venticon.com
Wed Nov 9 22:02:49 MST 2005


Walt Haas wrote:
> I do a lot of PHP unit testing.  I looked over PHPunit and was
> somewhat underwhelmed.  So, my unit test driver is make.  The Makefile
> has a target named test, thus:
> 
>     test:
>         @echo 'Initializing database'
>         @mysql < db.sql
>         @./testDate.php
>         @./testDatabase.php
>         @./testRacerTable.php
>         @./testForm_configuration.php
>         @./testForm_contact.php
>         @./testTable_contacts.php
>         @./testTable_configuration.php
>         @./testForm_contact_membr.php
>         @./testForm_contact_membr_adm.php
>         @./testForm_shoppingcart.php
>         @./testOrders.php
>         @./testOrderDetails.php

if you are familiar with ant...it can also be a powerful tool for
setting up testing environments and providing a simple and effective way
to automate your regression testing.

i tend to use it alot to do mass testing at a time.

--
ray



More information about the UPHPU mailing list