Re: IMAP tests
| From: | Pierre Joye | Date: | Wed, 09 Sep 2009 14:22:18 +0000 |
| Subject: | Re: IMAP tests | ||
| References: | 1 2 3 4 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65363@lists.php.net to get a copy of this message | ||
On Wed, Sep 9, 2009 at 4:01 PM, Nuno Lopes<nlopess@php.net> wrote:
>> Well many reasons :
>> - First, I (or other testers) may not have karma to modify the mail server
>> configuration.
>
> so you don't have root on your local machine?..
> Again, running tests with imap/mysql/.. accounts that are not test-only is a
> risk. Something might go wrong and delete all your emails or the whole DB.
I don't test imap using a local imap but a couple of remote servers.
Configuring an imap server correctly with the various auth methods is,
for example, a real pain.
>> - Then, I don't understand why those paremeters are hardcoded, compared to
>> MySQL tests for example that offer a way to change hostname/user/password
>> through bash variables.
>
> If it can be done easily, yes, sure, why not?
Agreed, if we can make them more flexible, go ahead! :)
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org