RE: [PEAR-QA] Testing of Net_FTP 1.3.3
| From: | Jorrit Schippers - nCode | Date: | Wed, 28 Nov 2007 22:20:01 +0000 |
| Subject: | RE: [PEAR-QA] Testing of Net_FTP 1.3.3 | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4637@lists.php.net to get a copy of this message | ||
> If config.php exists and you cannot connect, there should be an error
> message. Currently you just skip the test, although I setup config -
> just username/password are wrong.
>
>
I was already in doubt what to do in this situation. You are suggesting that
I should make it an error instead of skipping the test? The problem is that
you can't throw exceptions in the setUp() method. Perhaps I should not use
the setUp method and create my own method for setting up the FTP connection.
What do you think?
Jorrit