For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > November 2007 > Re: [PEAR-QA] Testing of Net_FTP 1.3.3









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] Testing of Net_FTP 1.3.3
Christian Weiske

2007-11-28, 7:03 pm

Jorrit Schippers - nCode

2007-11-28, 7:03 pm

> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com