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

From: Date: Fri, 08 Jun 2007 15:34:06 +0000
Subject: Re: [pear-webmaster] moment of brilliance? only unit test publicpearweb pages please
References: 1 2  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-5941@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? The easy way is to use --POST-- or --GET-- in the .phpt format. Avoid selenium except for testing javascript features. Greg

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