Another attempt at a test suite

Dave Abrahams dave at boostpro.com
Mon Jan 16 03:15:31 GMT 2012


I am now offering, for the last time, to set this test suite up to run on
every commit.  I have a BuildBot installation that would be perfect for
this.  Just tell me what you would like it to do.

on Mon Jan 09 2012, Sebastian Spaeth <Sebastian-AT-SSpaeth.de> wrote:

> Nicolas is creating an IMAP proxy that will allow to create a test suite
> for OfflineImap, that is great. However, we will still need a corpus of
> tests and an OfflineImap-specific scaffold that sets up temporary
> maildirs, counts the number of mails etc.
>
> I have started to create something like this, that will already work
> without the IMAP proxy, and that can be tied into it once, it works.
>
> I have a very preliminary version up at my branch feature/testsuite, it
> contains some scaffolding, and so far, it runs only one test:
>
> It starts the offlineimap binary, connects to an IMAP server, syncs all
> existing OLItest* folders and tests whether that works without causing
> any problem/exception.
>
> It works against real world IMAP servers that you need to specify (it
> can be a local one or a real Gmail account, for example). I use the
> python unittest framework for all the heavily lifting.
>
> The code is still in quite a flux, but the first test works for me
> already. I plan on extending this and writing some more basic
> tests. Once things stabilize, I will invite people to help me create
> good tests. This is just an announcement of what will come.
>
> I plan to run this at the very least before each release, if not before
> every commit.
>
> P.S. Don't use your productive real email account for the testsuite. It
> should be safe, but will add/modify folders there.
>
> Sebastian
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com





More information about the OfflineIMAP-project mailing list