Re: IMAP tests

From: Date: Wed, 09 Sep 2009 14:09:39 +0000
Subject: Re: IMAP tests
References: 1 2 3 4  Groups: php.qa 
Request: Send a blank email to php-qa+get-65362@lists.php.net to get a copy of this message
Hi, > 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. That's why creating a specific account must be done, but maybe this is not on localhost :) > > If it can be done easily, yes, sure, why not? But you're saying that you > would need to use regexes and so on. That has 2 problems: it's a lot of > trouble to write and maintain, and the validation of the output won't be as > strict as it is right now. > I'm not sure making the following modifications will introduce bugs because it is less strict ;) - .. mailbox '{localhost/norsh}INBOX.phpttest' created + .. mailbox '{%s}INBOX.phpttest' created Much simpler than a specific regexp and working for any host :) Anyway, I'm ready to make the diff to modify existing tests and also write new ones. Just ask, as I hate doing something for nothing :) Olivier

« previous php.qa (#65362) next »