Automated tests using dovecot
Ethan Glasser-Camp
glasse at cs.rpi.edu
Mon Jun 6 12:53:55 BST 2011
Hi guys,
I know that patches generally get sent to the mailing list, but this is
a few hundred K of very WIP stuff so I'm just going to point to my
github branch:
https://github.com/glasserc/offlineimap/tree/volatile%2Fautomated-tests
This commits a bash-based test harness imported from notmuch, which was
originally imported from git. It demonstrates a test that brings up a
local, non-root dovecot instance, delivers a mail to it, and then syncs
that mail using offlineimap.
This doesn't go as far as Nicolas suggested in [1], because there's no
chroot and at least once before I got everything setup correctly,
offlineimap tests tried to sync against my actual, real mailbox.
Nevertheless it's pretty simple and better than nothing :)
Feedback would be gratefully received.
Ethan
[1] http://article.gmane.org/gmane.mail.imap.offlineimap.general/2146/
More information about the OfflineIMAP-project
mailing list