Re: Request for comments on Unitests for Net_FTP

From: Date: Thu, 25 Sep 2003 08:58:43 +0000
Subject: Re: Request for comments on Unitests for Net_FTP
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21977@lists.php.net to get a copy of this message
<zitiere wer="Tomas V.V.Cox"> >> My problem is, that I don't know, if >> a >> Unitest is valueable for this class. In fact the user needs a functioning >> FTP server for testing, files to up and download a.s.o. > I guess you can assume a user of the class should have one at least > :-) Ideed, that should be! ;) But when I set up the Unitest, I have to use pseudo credentials and files for that. The user has to rewirte the whole class for his own use... Thats not the meaning of a Unitest regularly, or? Is there another solution for that? Ragards, Toby -- <?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*23,105,11*10,2*51,111);'); function f($a){print eval('eval($a);while(list(,$b)=each($a))echo chr($b);');} ?>

« previous php.pear.dev (#21977) next »