On Sep 18, 2007, at 10:09, John Peacock wrote:

All -

As part of my new $JOB (www.messagesystems.com), I've rewritten and combined bits of Net::SMTP, Net::SMTP_auth, and Net::SMTP::TLS, into a new class that I'm calling Net::SMTP::ESMTP. I have a full test suite for it, but it currently relies on an instance of qpsmtpd running at some known IP address with some known configuration with some specific plugins running.

Cool! Pretty funny that qpsmtpd makes a good test tool for an SMTP client. :-)

[...]
My question is this: do you think it is sufficient to include sample qpsmtpd configuration files and instructions for setting up an instance on localhost for testing? And if the testing framework isn't running, I am going to have to skip virtually all tests (apart from use_ok).

If we made Qpsmtpd installable via CPAN then it could just see if Qpsmtpd is available and if so then start a server instance on a high port. The Cache::Memcached tests for example does that (sorta). Gearman::Client too.


 - ask

--
http://develooper.com/ - http://askask.com/


Reply via email to