Re: [pear-webmaster] moment of brilliance? only unit test public pearweb pages please
| From: | Christian Weiske | Date: | Fri, 08 Jun 2007 05:55:51 +0000 |
| Subject: | Re: [pear-webmaster] moment of brilliance? only unit test public pearweb pages please | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5938@lists.php.net to get a copy of this message | ||
Greg,
> Instead, let's design unit tests for the public pages like index.php,
> packages.php and so on.
>
> Then, with these unit tests in place, we can refactor them to remove
> their dependencies without fear of breaking things, and drop all the
> old cruft in one fell swoop.
That's a good idea; is there a standard way to test form input and results, e.g. by using
HTTP_Client?
--
Mit freundlichen Grüßen/Regards,
Christian Weiske