Re: [pear-webmaster] moment of brilliance? only unit test public pearweb pages please

From: 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,
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?
Not really sure how this is the magic solution, but the tool of choice for these kinds of unit tests is Selenium. regards, Lukas

« previous php.pear.webmaster (#5939) next »