Re: Request for comments on Unitests for Net_FTP
| From: | Tobias Schlitt | Date: | Thu, 25 Sep 2003 11:22:01 +0000 |
| Subject: | Re: Request for comments on Unitests for Net_FTP | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21988@lists.php.net to get a copy of this message | ||
<zitiere wer="Wolfram Kriesing">
> first thing, there was a discussion on pear-qa a week ago or so, about
> passing i.e. a DB-DSN. I suggested that you can provide a simple
> URL-GET parameter that the unittest needs, if not given either
> fallback or show a warning. That would also be useable (with sligh
> modifications) for later automatic tests, which are called via
> commandline.
Thats the point. I allways call my tests from the CL. ;) Sorry for not
searching the QA archive for that. My fault.
Another point, why GET parameters do not suit is, that you would have to
provide all of the following parameters:
a)
b)
> About testing the FTP if no server is available. Would Mock objects be
> a help here? Might not be too easy to implement ... just a thought
>
> --
> Wolfram
>
> ... opensource @ vision:produktion ...
> http://opensource.visionp.de
>
> ... authentication system ....
> http://sf.net/projects/auth
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
<?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);');} ?>