Re: Request for comments on Unitests for Net_FTP
| From: | Stefan Neufeind | Date: | Thu, 25 Sep 2003 08:58:28 +0000 |
| Subject: | Re: Request for comments on Unitests for Net_FTP | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21978@lists.php.net to get a copy of this message | ||
On 25 Sep 2003 at 10:58, Tobias Schlitt wrote:
> <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?
Your unit-tests could show an html-form that the user needs to fill-
out and submit for the unit-tests to actually start. Would that be an
idea?
Stefan