Re: [pear-webmaster] moment of brilliance? only unit test public pearweb pages please
| From: | Lukas Kahwe Smith | Date: | Fri, 08 Jun 2007 07:02:44 +0000 |
| Subject: | Re: [pear-webmaster] moment of brilliance? only unit test public pearweb pages please | ||
| References: | 1 2 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5939@lists.php.net to get a copy of this message | ||
Christian Weiske wrote:
Greg,Not really sure how this is the magic solution, but the tool of choice for these kinds of unit tests is Selenium. regards, LukasInstead, 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?